Part Number Hot Search : 
M30621MA THAT380G IRN50 FQB1N60 QS3VH126 SG723J C40S1 QS3VH126
Product Description
Full Text Search
 

To Download HSP50210 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  3-1 tm file number 3652.4 caution: these devices are sensitive to electrostatic discharge; follow proper ic handling procedures. 1-888-intersil or 321-724-7143 | intersil and design is a trademark of intersil corporation. | copyright intersil corporation 2000 HSP50210 digital costas loop the digital costas loop (dcl) performs many of the baseband processing tasks required for the demodulation of bpsk, qpsk, 8-psk, oqpsk, fsk, am and fm waveforms. these tasks include matched ?tering, carrier tracking, symbol synchronization, agc, and soft decision slicing. the dcl is designed for use with the hsp50110 digital quadrature tuner to provide a two chip solution for digital down conversion and demodulation. the dcl processes the in-phase (i) and quadrature (q) components of a baseband signal which have been digitized to 10 bits. as shown in the block diagram, the main signal path consists of a complex multiplier, selectable matched ?ters, gain multipliers, cartesian-to-polar converter, and soft decision slicer. the complex multiplier mixes the i and q inputs with the output of a quadrature nco. following the mix function, selectable matched ?ters are provided which perform integrate and dump or root raised cosine ?tering ( ~ 0.40). the matched ?ter output is routed to the slicer, which generates 3-bit soft decisions, and to the cartesian-to- polar converter, which generates the magnitude and phase terms required by the agc and carrier tracking loops. the pll system solution is completed by the HSP50210 error detectors and second order loop filters that provide carrier tracking and symbol synchronization signals. in applications where the dcl is used with the hsp50110, these control loops are closed through a serial interface between the two parts. to maintain the demodulator performance with varying signal power and snr, an internal agc loop is provided to establish an optimal signal level at the input to the slicer and to the cartesian-to-polar converter. features clock rates up to 52mhz selectable matched filtering with root raised cosine or integrate and dump filter second order carrier and symbol tracking loop filters automatic gain control (agc) discriminator for fm/fsk detection and discriminator aided acquisition swept acquisition with programmable limits lock detector data quality and signal level measurements cartesian to polar converter 8-bit microprocessor control - status interface designed to work with the hsp50110 digital quadrature tuner 84 lead plcc applications satellite receivers and modems bpsk, qpsk, 8-psk, oqpsk, fsk, am and fm demodulators digital carrier tracking related products: hsp50110 digital quadrature tuner, d/a converters hi5721, hi5731, hi5741 hsp50110/210eval digital demod evaluation board block diagram data path multiplexer filter control interface status 10 13 track control out(9-0) out(9-0) bus track control rrc dump integrate/ loop filter magnitude phase i q 10 8 8 carrier acq/trk loop filter symbol q i level detect hi/lo slicer cartesian to polar filter rrc dump integrate/ nco level detect cos sin 10 10 carrier control/ tracking 3 3 8 8 lock detect serclk (cof) (sof) a b smblclk thresh lkint oea oeb symbol i ser or i in (9-0) carrier phase error detect loop filter symbol phase detect error or clk q ser or q in (9-0) data sheet january 1999
3-2 pinout 84 lead plcc top view 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 75 76 77 78 79 80 81 82 83 84 1 2 3 4 5 6 7 8 9 10 11 aout4 aout5 aout6 gnd aout7 aout8 aout9 oea thresh sloclk hi/lo iser qser vcc ssync gnd serclk iin9 iin8 iin7 iin6 gnd lkint fz-ct fz-st cof c0 c1 vcc c2 c3 c4 c5 c6 c7 a0 a1 gnd a2 rd wr cofsync iin5 iin4 iin3 iin2 gnd iin1 iin0 sync qin9 qin8 qin7 qin6 qin5 qin4 vcc qin3 qin2 qin1 qin0 sofsync sof aout1 aout3 aout2 aout0 smblclk vcc clk gnd bout9 bout8 bout7 bout6 bout5 gnd bout4 bout2 bout1 bout0 oeb vcc bout3 ordering information part number temp. range ( o c) package pkg. no. HSP50210jc-52 0 to 70 84 lead plcc n84.1.15 HSP50210ji-52 -40 to 85 84 lead plcc n84.1.15 HSP50210
3-3 pin description name type description v cc - +5v power supply. gnd - ground. iin9-0 i in-phase parallel input. data may be twos complement or offset binary format (see table 14). these inputs are sampled by clk when the sync signal is active low. iin9 is the msb. see input controller section. qin9-0 i quadrature parallel input. data may be twos complement or offset binary format (see table 14). these inputs are sampled by clk when the sync signal is active low. qin9 is the msb. see input controller section. sync i data sync. when sync is asserted ?ow? data on iin9-0 and qin9-0 is clocked into the processing pipeline by the rising edge of clk. cof o carrier offset frequency. the frequency term generated by the carrier tracking loop filter is output serially via this pin. the new offset frequency is shifted out msb ?st by clk or sloclk starting with the clock cycle after the assertion of cofsync. cofsync o carrier offset frequency sync. this signal is asserted one clk or sloclk cycle before the msb of the serial data word. (programmable polarity, see table 41, bit 11). sof o sampler offset frequency. sample frequency correction term generated by the symbol tracking loop filter is output serially via this pin. the frequency word is shifted out msb ?st by clk or sloclk starting with the clock cycle after assertion of sofsync. sofsync o sampler offset frequency sync. this signal is asserted one clk or sloclk cycle before the msb of the serial data word. (programmable polarity, see table 41, bit 12). a2-0 i address bus. the address on these pins specify a target register for reading or writing (see microprocessor interface section). a0 is the lsb. c7-0 i/o microprocessor interface data bus. this bi-directional bus is used for reading and writing to the processor interface. these are the data i/o pins for the processor interface. c0 is the lsb. wr i write. this is the write strobe for the processor interface (see microprocessor interface section). rd i read. this is the read enable for the processor interface (see microprocessor interface section). fz_st i freeze symbol tracking loop. asserting this pin ?igh zeroes the sampling error into the symbol tracking loop filter (see symbol tracking loop filter section). fz_ct i freeze carrier tracking loop. asserting this pin ?igh zeroes the carrier phase error input to the carrier tracking loop filter. lkint o lock detect interrupt. this pin is asserted ?igh for at least 4 clk cycles when the lock detector integration cycle is ?ished (see lock detector section). used as an interrupt for a processor. the lock detect interrupt may be asserted ?igh?longer than 4 clk cycles, depending on the lock detector mode. thresh o threshold exceeded. this output is asserted ?ow when the magnitude out of the cartesian to polar converter exceeds the programmable power detect threshold (see table 15 and agc section). sloclk o slow clock. optional serial clock used for outputting data from the carrier and symbol tracking loop filters. the clock is programmable and has a 50% duty cycle. note: not used when the hsp50110 is used with the HSP50210 (see table 41). iser i in-phase serial input. serial data input for in-phase data. data on this pin is shifted in msb ?st and is synchronous to serclk (see input controller section). qser i quadrature serial input. serial data input for quadrature data. data on this pin is shifted in msb ?st and is synchronous to serclk (see input controller section). ssync i serial word sync. this input is asserted ?igh?one clk before the ?st data bit of the serial word (see figure 2). serclk i serial clock. may be asynchronous to other clocks. used to clock in serial data (see input controller section). aout9-0 o a output. data on this output depend on the configuration of output selector. aout9 is the msb (see table 42). bout9-0 o b output. data on this output depend on the configuration of output selector. bout9 is the msb (see table 42). smblclk o symbol clock. 50% duty cycle clock aligned with soft bit decisions (see figure 19). oea i a output enable. this pin is the three-state control pin for the aout9-0. when oea is high, the aout9-0 is high impedance. oeb i b output enable. this pin is the three-state control pin for the bout9-0. when oeb is high, the aout9-0 is high impedance. hi/lo 0 hi/lo. the output of the input level detector is provided on this pin (see input level detector section). this signal can be externally averaged and used to control the gain of an ampli?r to close an agc loop around the a/d converter. this type of agc sets the level based on the median value on the input. clk i system clock. asynchronous to the processor interface and serial inputs. HSP50210
3-4 cos sin synthesizer/ nco mixer tan -1 ( ) i 2 +q 2 q i carrier phase error detect cartesian slicer 2nd order loop filter carrier tracking loop filter gain error detect agc level detect lock input controller frequency error detect d dt discriminator m u x m u x m u x m u x rrc m u x m u x symbol phase error detect symbol tracking matched filtering to polar detect i&d acquisition control from lock detector iin9-0 qin9-0 sof sofsync cof cofsync sloclk microprocessor interface 8 c7-0 wr rd hi/lo thresh aout9-0 bout9-0 lkint serclk iser qser ssync serial output formatter i&d 2nd order loop filter sync rrc a2-0 clk oea oeb smblclk frz_st frz_ct q i figure 1. functional block diagram of the HSP50210 HSP50210
3-5 functional description the HSP50210 digital costas loop (dcl) contains most of the baseband processing functions needed to implement a digital costas loop demodulator. these functions include lo generation/mixing, matched ?tering, agc, carrier phase and frequency error detection, timing error detection, carrier loop ?tering, bit sync loop ?tering, lock detection, acquisition/tracking control, and soft decision slicing for forward error correction algorithms. while the dcl is designed to work with the hsp50110 digital quadrature tuner (dqt) as a variable rate psk demodulator for satellite demodulation, functions on the chip are common to many communications receivers. the dcl provides the processing blocks for the three tracking loops commonly found in a data demodulator: the automatic gain control (agc) loop, the carrier tracking loop, and a symbol tracking loop. the agc loop adjusts for input signal power variations caused by path loss or signal-to-noise variations. the carrier tracking loop removes the frequency and phase uncertainties in the carrier due to oscillator inaccuracies and doppler. the symbol tracking loop removes the frequency and phase uncertainties in the data and generates a recovered clock synchronous with the received data. each loop consists of an error detector, a loop ?ter, and a frequency or gain adjustment/control. the agc loop is internal to the dcl, while the symbol and carrier tracking loops are closed external to the dcl. when the dcl is used together with the hsp50110, the tracking loops are closed around the baseband ?tering to center the signal in the ?ter bandwidth. in addition, the agc function is divided between the two chips with the hsp50110 providing the coarse agc, and the HSP50210 providing the ?e or ?al agc. a top level block diagram of the HSP50210 is shown in figure 1. this diagram shows the major blocks and the multiplexers used to recon?ure the data path for various architectures. input controller in-phase (i) and quadrature (q) data enters the part through the input controller. the 10-bit data enters in either serial or parallel fashion using either twos complement or offset binary format. the input mode and binary format is set in the data path con?uration control register, bits 14 and 15 (see table 14). if parallel input mode is selected, i and q data are clocked into the part through iin0-9 and qin0-9 respectively. data enters the processing pipeline when the input enable ( sync) is sampled ?ow by the processing clock (clk). the enable signal is pipelined with the data to the various processing elements to minimize pipeline delay where possible. as a result, the pipeline delay through the agc, carrier tracking, and symbol tracking loop filters is measured in clks; not input data samples. if serial input mode is selected, the i and q data enters via the iser and qser pins using serclk and ssync. the beginning of a serial word is designated by asserting ssync ?igh?one serclk prior to the ?st data bit, as shown in figure 2. on the following serclks, data is shifted into the register until all 10 bits have been input. data shifting is then disabled and the contents of the register are held until the next assertion of ssync. the assertion of a ssync transfers data into the processing pipeline, and the shift register is enabled to accept new data on the following serclk. when data is transferred to the processing pipeline by ssync, a processing enable is generated which follows the data through the pipeline. this enable allows the delay through processing elements (like the loop ?ters) to be minimized since their pipeline delay is expressed in clks not ssync periods. note: ssync should not be asserted for more than one serclk cycle. input level detector the input level detector generates a one-bit error signal for an external if agc ?ter and ampli?r. the error signal is generated by comparing the magnitude of the input samples to a user programmable threshold. the hi/lo pin is then driven ?igh?or ?ow?depending on the relationship of its magnitude to the threshold. the sense of the hi/lo pin is programmable so that a magnitude exceeding the threshold can either be represented as a ?igh?or ?ow?logic state. the input level detector (hi/lo output) threshold and the sense are set by the data path con?uration control register bits 16-23 and 13 (see table 14). note: the input level detector is typically not used in applications which use the HSP50210 with the hsp50110. the high/low outputs can be integrated by an external loop ?ter to close an agc loop. using this method, the gain of the loop forces the median magnitude of the input samples to the threshold. when the magnitude of half of the samples is above the threshold (and half is below), the error signal is integrated to zero by the loop ?ter. the magnitude of the complex input is estimated by: iser/ msb msb serclk ssync qser ote: data must be loaded msb ?st. igure 2. serial input timing for iser and qser inputs ssync leads 1st data bit mag (i, q) i 0.375 q if i q and > + = mag (i, q) q 0.375 i if q i > + = (eq. 1) HSP50210
3-6 complex multiply m u x r e g r e g r e g r e g r e g r e g sin cos 15 tap rrc 15 tap rrc r e g r e g r e g r e g m u x l i m i t r e g r e g r e g r e g r e g ? dump ? dump r e g m u x m u x cartesian to nco mixer matched filtering root raised cosine (rrc) integrate and dump bypass rrc bypass mixer bypass polar iin9-0 qin9-0 d e m u x soft decision slicer d e m u x r e g i end i mid q end q mid to carrier tracking and discriminator to symbol tracking data de-skew oqpsk mid and end symbol samples agc threshold thresh agc error detect ? hold agc loop gain mantissa s h i f t loop gain exponent l i m i t upper gain limit lower gain limit r e g agc loop filter o u t p u t s e l e c t r e g r e g aout9-0 bout9-0 + + m u x m u x r e g + + i&d r e g r e g r e g r e g - + r e g r e g m u x compare r e g tan -1 ( ) i 2 +q 2 q i 5 delay reg 5 delay reg m u x threshold power phase out at @ or mag out at @ or ! ! or ! or * * * @ or ! @ @ reg reg reg reg sin/cos rom reg + reg cf register from carrier tracking loop filter reg reg level detect hi / lo register enable rate @ = sync rate = twice symbol rate ! = symbol rate blank = clk rate * @ @ ** * + m u x test r e g r e g r e g s h i f t s h i f t false lock compare reg two sample summer error gain figure 3. main data path 8 8 HSP50210
3-7 nco/mixer the nco/mixer performs a complex multiply between the baseband input and the output of a quadrature nco (numerically controlled oscillator). when the HSP50210 (dqt) is used with the hsp50110 (dcl), the nco/mixer shortens the carrier tracking loop (i.e., minimizes pipeline delay around the loop) while providing wide loop bandwidths. this becomes important when operating at symbol rates near the maximum range of the part. there are three con?urations possible for closing the carrier tracking loop when the dqt and the dcl are used together. the ?st con?uration utilizes the nco on the dqt and bypasses the nco in the dcl. the data path con?uration control register (see table 14), bit 10, and carrier loop filter control register #1 (see table 20), bit 6, are used to bypass the dcl nco/mixer and route the loop ?ter outputs, respectively. the dqt provides maximum ?xibility in nco control with respect to frequency and phase offsets. the second con?uration feeds the lead carrier loop ?ter term to the dcl nco/mixer, and the lag loop ?ter term to the dqt nco. this reduces the loop transport delay while maintaining wide loop bandwidths and reasonable loop damping factors. this con?uration is especially useful in satcom applications with medium to high symbol rates. the carrier loop filter control register #1, bit 5, is where the lead/lag destination is set. the ?al con?uration feeds both the lead and lag carrier loop filter terms back to the dcl nco/mixer. this provides the shortest transport delay. the dcl nco/mixer provides only for frequency/phase control from the carrier loop ?ter. the center frequency of this nco/mixer is set to the average of the upper and lower carrier loop limits programmable parameters. these parameters are set in the two control registers bearing their names (see tables 22 and 23). the nco/mixer uses a complex multiplier to multiply the baseband input by the output of a quadrature nco. this operation is represented by: equation 3 illustrates how the complex multiplier implicitly performs the summing function when the dcl is con?ured as a modulator. the quadrature outputs of the nco are generated by driving a sine/cosine look-up table with the output of a phase accumulator as shown in figure 3. each time the phase accumulator is clocked, its sum is incremented by the contents of the carrier frequency (cf) register. as the accumulator sum increments from 0 to 2 32 , the sin/cos rom produces quadrature outputs whose phase advances from 0 to 360 o . the cf register contains a 32-bit phase increment which is updated with the output of carrier tracking loop. large phase increments take fewer clocks to step through the sine wave cycle, which results in a higher frequency nco output. the cf register sets the nco frequency with the following equation: where f clk is the clk frequency, and cf is the 32-bit twos complement hexadecimal value loaded into the carrier frequency register. as an example, if the cf register is loaded with a value of 4000 0000 (hex), and the clk frequency is 40mhz, the nco would produce quadrature terms with a frequency of 10mhz. when cf is a negative value, a clockwise cos/sin vector rotation is produced. when cf is positive, a counterclockwise vector rotation is produced. note: the nco is set to a xed frequency by programming the upper and lower limits of the carrier tracking loop filter to the same value and zeroing the lead gain. matched filtering the HSP50210 provides two selectable matched ?ters: a root raised cosine filter (rrc) and an integrate and dump (i&d) ?ter. these are shown in figure 3. the rrc ?ter is provided for shaped data pulses and the i&d ?ter is provided for square wave data. the ?ters may be cascaded for better adjacent channel rejection for square wave data. if these two ?ters do not meet baseband ?tering requirements, then they can be bypassed and an external digital ?ter (such as the hsp43168 dual fir filter or the hsp43124 serial i/o filter) used to implement the desired matched ?ter. the desired ?ter con?uration is set in the data path con?uration control register, bits 1-7 (see table 14). the sample rate of the baseband input depends on the symbol rate and ?tering con?uration chosen. in con?urations which bypass both ?ters or use only the rrc filter, the input sample rate must be twice the symbol rate. in con?urations which use the i&d filter, the input sample rate is decimated by the i&d filter, down to two samples per symbol. i&d con?urations support input sample rates up to 32 times the input symbol rate. the rrc ?ter is a ?ed coef?ient 15 tap fir ?ter. it has ~40% excess bandwidth beyond nyquist which equates to = ~0.4 shape factor. the ?ter frequency response is shown in figure 4 and figure 5. in addition, the 9-bit ?ter coef?ients are listed as integer values in table 1. the noise equivalent bandwidth of the rrc ?ter and other ?ter con?urations possible with the hsp50110/210 chipset are given in appendix a. i out i in c () cos q in c () sin = q out i in c () sin q in c () cos + = (eq. 2) (eq. 3) f c f clk cf () 2 ? 32 = cf int f c f clk ? () 2 32 [] h = (eq. 4) HSP50210
3-8 the i&d ?ter consists of an accumulator, a programmable shifter and a two sample summer as shown in figure 3. the programmable shifter is provided to compensate for the gain introduced by the accumulator (see table 14). the accumulator provides integrate and dump filtering for decimation factors up to 16. the two sample summer provides the moving average required for an additional decimation factor of 2. a decimation factor of 1 (bypass), 2, 4, 8, 16, or 32 may be selected. at the maximum decimation rate, a baseband signal sampled at 32 times the symbol rate can be ?tered. the output of the two sample summer is demultiplexed into two sample streams at the symbol rate. the demultiplexed data streams from the i and q processing paths are fed to the symbol tracking block and soft decision slicer. the multiplexed data streams on i and q are provided as one of the selectable inputs for the cartesian to polar converter. cartesian/polar converter the cartesian/polar converter maps samples on the i and q processing paths to their equivalent phase/magnitude representation. the magnitude conversion is equivalent to: where 0.81 is the gain of the conversion process. the magnitude output is an 8-bit unsigned value ranging from 0.0 to 1.9922. 0 -20 -40 -60 -80 -100 0 f clk frequency (normalized to input sample rate) normalized magnitude (db) figure 4. rrc filter in HSP50210 10 2f clk 10 3f clk 10 4f clk 10 f clk 2 0 -0.18 -0.36 -0.54 -0.72 -0.90 0 -0.07 -0.14 -0.21 -0.28 -0.35 0 frequency (normalized to input sample rate) f clk 25 2f clk 25 3f clk 25 4f clk 25 f clk 5 figure 5. passband ripple of rrc filter in HSP50210 normalized magnitude (db) normalized magnitude (db) shown below enlarged for clarity 0 f clk 40 f clk 20 3f clk 40 f clk 10 3f clk 20 5f clk 40 table 1. root raised cosine coefficients coefficient index coefficient 02 1-2 21 38 4 -16 5 -14 686 7 160 886 9 -14 10 -16 11 8 12 1 13 -2 14 2 mag (i, q) 0.81 () ? i 2 q 2 + () , = (eq. 5) HSP50210
3-9 the phase conversion is equivalent to: where tan -1 ( ) is the arctangent function. the phase conversion output is an 8-bit twos complement output which ranges from -1.0 to 0.9922 (80 to 7f hex, respectively). the -1 to almost 1 range of the phase output represents phase values from - to , respectively. an example of the i/q to phase mapping is shown in figure 6. the phase and magnitude values may be output via the output selector bits 0-3 (see table 42). the i/q data path selected for input to the cartesian to polar converter determines the input data rate of the agc and carrier tracking loops. if the i/q data path out of the integrate and dump filter is selected, the agc is fed with magnitude values produced by the end-symbol samples. magnitude values produced by midsymbol samples are not used because these samples occur on symbol transitions, resulting in poor signal magnitude estimates. the carrier tracking block is fed with phase values generated from both the end and mid-symbol samples. the carrier tracking loop filter, however, is only fed with phase error terms generated by the end symbol samples. if the input of the i&d is selected for input to the coordinate converter, the control loops are fed with data at the i/q data rate. the desired data path input to the cartesian to polar converter is specified in the data path configuration control register, bit 8 (see table 14). agc the agc loop operates on the main data path (i and q) and performs three signal level adjusting functions: 1) maximizing dynamic range, 2) compensating for snr variations, and 3) maintaining an optimal level into the soft decision slicer. the agc loop block diagram, shown in figure 7, consists of an error detector, a loop filter, and signal gain adjusters (multipliers). the agc error detector generates an error signal by subtracting the programmable agc threshold from the magnitude output of the cartesian to polar converter. this difference signal is scaled (gain adjusted via multiplier and shifter), then ?tered (integrated) by the agc loop filter to generate the gain correction to the i and q signals at the multipliers. if a ?ed gain is desired, set the upper and lower limits equal. the agc responds to the magnitude of the sum of all the signals in the bandpass of the narrowest ?ter preceding the cartesian to polar coordinate converter. this ?ter may be the integrate and dump ?ter shown in figure 8, the rrc ?ter upstream in the HSP50210 data path, or some other ?ter outside the dcl chip. the magnitude signal usually contains several components: 1) the signal of interest component, 2) the noise component, and 3) interfering signals component. at high snrs the signal of interest is signi?antly greater than the other components. at lower snrs, components 2 or 3 may become greater than the signal of interest. narrowing the filter bandwidth is the primary technique used to mitigate magnitude contributions of component 3. this will also improve the snr by reducing the magnitude contributions of element 2. consideration of the range of signal amplitudes expected into the HSP50210, in conjunction with a gain distribution analysis, will provide the necessary insight to set the signal level into the soft decision slicer to yield optimum performance. note: failure to consider the variations due to noise or interfering signals, can result in signal limiting in the HSP50210 processing algorithms, which will degrade the system bit error rate performance. figure 6a. i input to cartesian/polar converter figure 6b. q input to cartesian/polar converter figure 6c. car tesian/polar converter phase output phase (i, q) tan 1 qi ? () , = (eq. 6) 0.5 0 -0.5 1.0 -1.0 - 0 /2 - /2 input phase magnitude 0.5 0 -0.5 1.0 -1.0 - 0 /2 - /2 input phase magnitude 0.5 0 -0.5 1.0 -1.0 - 0 /2 - /2 input phase output voltage HSP50210
3-10 the agc loop is con?ured by the power detect threshold and agc loop parameters control registers (see tables 15 and 16). seven programmable parameters must be set to con?ure the agc loop and its status outputs. two parameters, the power threshold and the agc threshold are associated with the error detector and are represented in 8-bit fractional unsigned binary format: 2 0 .2 -1 2 -2 2 -3 2 -4 2 - 5 2 -6 2 -7. . while the format provides a range from 0 - 1.9961 for the thresholds, the cartesian to polar converter scales the i and q input magnitudes by 0.81. thus, if a full scale ( 1) complex (i and q) input signal is presented to the converter, the output will be (0.81) 2 + (0.81) 2 = 1.1455. the agc threshold parameter value is the desired magnitude of the signal as it enters the soft decision slicer. it is the parameter that will determine the error signal in the agc loop. the power threshold, on the other hand, determines only the power threshold at which the thresh signal is asserted. if the signal magnitude exceeds the threshold, then the thresh is asserted. this may be used for signal detection, power detection or external agc around the a/d converter. the agc threshold parameter is set in the agc loop parameters control register, bits 16-23 (see table 16). the power threshold parameter is set in the power detect threshold control register, bits 0-7 (see table 15). note that these two threshold parameters are not required to be set to identical or even related values, since they perform independent functions the enable agc parameter sets the agc error detector output to zero if asserted and to normal error detection output when not asserted. this control bit is set in the agc loop parameter control register, bit 31 (see table 16). this bit is used to disable the agc loop. the remaining agc parameters determine the agc loop characteristics: gain tracking, tracking rate and tracking limits. the agc loop gain is set via two parameters: agc loop gain exponent and agc loop gain mantissa. in general, the higher the loop gain, the faster signal level acquisition and tracking, but this must be tempered by the specific signal characteristics of the application and the remaining programmable loop parameters. for the HSP50210, the agc loop gain provides for a variable attenuation of the input to the loop filter. the agc gain mantissa is a 4-bit value which provides error signal scaling from 0.000 to 0.9375, with a resolution of 0.0625. table 2 details the discrete set of decimal values possible for the agc loop gain mantissa. the exponent provides a shift factor scaling from 2 -7 to 2 -14 . table 3 details the discrete set of decimal values possible for the agc loop gain exponent. when combined, the exponent and mantissa provide a loop gain defined as: where m is a binary number with a range from 0 to 15 and e is a 3-bit binary value from 0 to 7. m and e are the parameters set in the agc loop parameters control register, bits 24-30 (see table 16). the composite range of the agc loop gain is 0.0000 to [0.9375][2-7]. this will scale the agc error signal to a range of 0.000 to (1.1455)(0.9375)(2-7) = 1.07297(2-7). table 2. agc loop gain binary mantissa to decimal scaled mantissa mapping binary code (mmmm) decimal scaled mantissa binary code (mmmm) decimal scaled mantissa 0000 0.0000 1000 0.5000 0001 0.0625 1001 0.5625 0010 0.1250 1010 0.6250 0011 0.1875 1011 0.6875 0100 0.2500 1100 0.7500 0101 0.3125 1101 0.8125 0110 0.3750 1110 0.8750 0111 0.4375 1111 0.9375 table 3. agc loop binary exponent to scaled decimal exponent mapping binary code (eee) decimal/ hex exponent decimal scaled exponent 000 0 2 -7 001 1 2 -8 010 2 2 -9 011 3 2 -10 100 4 2 -11 101 5 2 -12 110 6 2 -13 111 7 2 -14 agc loop gain: g agc m () 2 4 () [] 2 7e + () () [] = (eq. 7) HSP50210
3-11 the agc loop filter integrates the scaled error signal to provide a correction control term to the multipliers in the i and q path. the loop filter accumulator has internal upper and lower limiters. the upper eight bits of the accumulator output map to an exponent and mantissa format that is used to set these upper and lower limits. the format, illustrated in figure 8, is used for the agc upper limit, agc lower limit and the correction control term (agc output). this format should not be confused with the similar format used for the agc loop gain. the input to the agc loop filter is included in figure 8 to show the relative weighting of the input to output of the loop filter. the loop filter input is represented as the eleven letter ??. lower case ??and ??detail the format for the agc upper and lower limits. this change in type case should help keep the agc limits and agc gain formats from being confused. the agc upper and lower limits are set in the agc loop parameters control register, bits 0-15, (see table 16). this 6-bit unsigned mantissa format provides for an agc output control range from 0.0000 to 0.9844, with a resolution of 0.015625. the 2-bit exponent format provides an agc output control range from 1 to 8. the decimal values for each of the 64 binary mantissa values is detailed in table 4, while table 5 details the decimal value for the 4 exponent values. the agc output is implemented in the multiplier according to equation 8. where m and e are the binary values for mantissa and exponent found in tables 4 and 5. note:this format is identical to the format used to program the agc upper and lower limits, but in this usage it is not a pro- grammed value. it is a representation of the digital agc output number which is presented to the gain adjuster (multipliers) to correct the gain of the i and q data signals in the main data path. these equations yield a composite (mantissa and exponent) agc output range of 0.0000 to 1.9844(2 3 ) which is a logarithmic range from 0 to 24db. figure 9 has graphed the results of equation 8 for both the linear and logarithmic equations. figure 9 also has a linear estimate of the logarithmic equation. this linear approximation will be used in calculating the agc response time. l i m i t cartesian to polar agc error detect ? s h i f t l i m i t r e g agc loop filter - + r e g r e g m u x compare r e g tan -1 ( ) i 2 +q 2 q i m u x + gain error agc limit ? upper agc limit ? lower power agc thrshld ? agc loop enable agc ? gain mantissa ? agc loop gain exponent ? cart/polar input select ? read reg i&d filter i&d filter i q magnitude phase thresh gain adjust (0 - 1.1455) (0.000 to 0.9375) (2 -7 to 2 -14 ) 0.000 to 1.07297(2 -7 ) 1.0000 to 15.8572 = g agc (0 to 24db) figure 7. agc loop block diagram thrshld ? ? indicates a microprocessor control signal. agc gain = (1.0 + m) x 2 e g agc 1.0 0.8 g 1.64 2 ----------- = dcloutlvl agc thresh 1.64 2 ----------- - ?? ?? = where dcloutlvl is the magnitude output expressed in db from full scale (dbfs) out agc linear 1.0 m agc + () 2 e () = out agc db 20 log 1.0 m agc + () 2 e () [] = (eq. 8a) (eq. 8b) 2 1 2 0 .2 -1 2 -2 2 -3 2 -4 2 -5 2 -6 2 -7 2 -8 2 -9 2 -10 2 -11 2 -12 2 -13 2 -14 2 -15 2 -16 2 -17 2 -18 ee.mmmmm m gggg gg gg gg g figure 8. agc output a nd agc limits bit weighting HSP50210
3-12 there are two techniques for setting a fixed gain for the agc. the first is to set control word 2 bit 31 = 1. this precludes any error update of present agc gain value. the second is to set the upper and lower agc limits to the desired gain using figure 9. the upper and lower limits have the same value for this case. the HSP50210 provides two mechanisms for monitoring signal strength. the first, which involved the thresh signal, has already been described. the second mechanism is via the microprocessor interface. the 8 most significant bits of the agc loop filter output can be read by a microprocessor. refer to the microprocessor interface section for details of how to read this value. this agc value has the format described in figure 8. agc bit weighting and loop response the agc loop response is a function of the programmable gain, the bit weightings inherent in the connection of each element of the loop, the agc loop ?ter limits and the magnitude of the input gain error step. table 6 details the bit weighting between each element of the agc loop from the error detector through the weighting at the gain adjuster in the signal path. the agc loop gain sets the growth rate of the sum in the loop ?ter accumulator. the loop ?ter output growth rate determines how quickly the agc loop traces the transfer function shown previously in figure 9. to calculate the rate at which the agc can adjust over a given period of time, a gain step is introduced to the gain error detector and the amount of change that is observed between clocks at the agc level adjusters (multipliers) is the agc response time in db per symbol. this agc loop will respond immediately with the greatest correction term, then asymptotically approach zero correction. we begin calculation of the loop response with a full scale error detector input of 1. this error input is scaled by the cartesian to polar converter, the error detector and the agc loop gain, accumulated in the loop filter, limited and output to the gain adjusters. the agc loop tries to make the error correction as quickly as possible, but is limited by the agc table 4. agc gain mantissa to decimal mapping binary code (mmmmmm agc ) decimal value of agc mantissa binary code (mmmmmm agc ) decimal value of agc mantissa 000000 0.000000 100000 0.500000 000001 0.015625 100001 0.515625 000010 0.031250 100010 0.531250 000011 0.046875 100011 0.546875 000100 0.062500 100100 0.562500 000101 0.078125 100101 0.578125 000110 0.093750 100110 0.593750 000111 0.109375 100111 0.609375 001000 0.125000 101000 0.625000 001001 0.140625 101001 0.640625 001010 0.156250 101010 0.656250 001011 0.171875 101011 0.671875 001100 0.187500 101100 0.687500 001101 0.203125 101101 0.703125 001110 0.218750 101110 0.718750 001111 0.234375 101111 0.734375 010000 0.250000 110000 0.750000 010001 0.265625 110001 0.765625 010010 0.281250 110010 0.781250 010011 0.296875 110011 0.796875 010100 0.312500 110100 0.812500 010101 0.328125 110101 0.828125 010110 0.343750 110110 0.843750 010111 0.359375 110111 0.859375 011000 0.375000 111000 0.875000 011001 0.390625 111001 0.890625 011010 0.406250 111010 0.906250 011011 0.421875 111011 0.921875 011100 0.437500 111100 0.937500 011101 0.453125 111101 0.953125 011110 0.468750 111110 0.968750 011111 0.484375 111111 0.984375 table 5. agc gain exponent to decimal mapping binary code decimal/ hex exponent decimal scaled exponent 00 0 2 0 01 1 2 1 10 2 2 2 11 3 2 3 data path gain (linear) gain (db) gain control word (8 msbs of loop filter accumulator) gain db 16 12 8 4 0 24 18 12 6 0 0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 1 figure 9. gain control transfer function linear estimate in db 256 gain linear HSP50210
3-13 loop gain and potentially, the agc limits. the maximum agc response is the maximum gain adjustment made in any given clock cycle. this involves applying maximum loop gain and setting the agc limits as wide as possible. a calculation using only exponent terms of the various gains will be sufficient to yield a rough order of magnitude of the range of the agc loop response. the results are shaded in the last column of table 6 and provided in detail in equations 9a and 9b. agc response max = input (cartesian to polar converter gain)(error detector gain)(agc loop gain)(agc output weighting) agc response max = 1(0.5)(0.5)(2 -7 )(24) = 1(2 -9 )(24) = 0.04688db/symbol time where (0.5) is the msb of the 0.81 scaling in the cartesian to polar coordinate converter, (0.5) is the msb of the mantissa of the loop gain, (2 -7 ) is the maximum shift gain, and 24 is the maximum loop ?ter gain. a similar procedure is used to calculate the minimum agc response rate. agc response min = 1(0.5)(0.5)(2 -14 )(24) = 1(2 -16 )(24) = 0.000366db/symbol time thus, the expected range for the agc rate is approximately 0.0004 to 0.0469db/symbol time. table 6. agc bit weighting agc accum bit position gain error input gain error bit weight agc loop filter gain (mantissa) agc loop filter gain multiplier (output) agc loop filter gain bits kept (rnd) shift = 0 shift = 7 agc output and agc limits bit weight agc gain resolution (db) 22 shifter e1 12 21 shifter e0 6 20 multiplier m-1 3 19 m -2 1.5 18 m -3 0.75 17 m -4 0.375 16 m -5 0.1875 15 multiplier 1 m -6 0.09375 14 13 1 g -8 0.02344 12 2 g -9 0.01172 11 3 g -10 0.00586 10 4 g -11 0.00293 9 5 g -12 0.00146 8 8(s) = 1(s) 0. 12(s) 12(s) = 1 1 6 g -13 0.000732 7 7 = 0 ? x1111= 0 ? 6 6 = 1 x 10 10 = 1 1 g -15 0.000183 5 5 = 2 x 9 9 = 2 2 g -16 0.0000916 4 4 = 3 x 8 8 = 3 3 g -17 0.0000458 3 3 = 4 7 7 = 4 4 g -18 0.0000229 2 2 = 5 6 6 = 5 5 -19 0.0000114 1 1 = 6 5 5 = 6 6 -20 0.00000572 0 0 = 7 4 -21 0.00000286 3 2 1 0 0 ? ? 0-7 0.04688 0 ? g -14 0.000366 (eq. 9a) (eq. 9b) HSP50210
3-14 gain distribution the gain distribution in the dcl is shown in figure 10. these gains consist of a combination of ?ed, programmable, and adaptive gains. the ?ed gains are introduced by processing elements such as the mixer and square root of root raised cosine filter. the adaptive gains are set to compensate for variations in input signal strength. the main signal path, with processing block gains and path bit weightings, is shown in figure 10. the quadrature inputs to the HSP50210 are 10-bit fractional twos complement numbers with relative bit weightings, as shown in the figure 10. the ?st element in the processing chain is the mixer, which scales the quadrature outputs of the complex multiplier by 1/2 providing a gain of g = 0.5. if the mixer is bypassed, the signal is passed unmodi?d with a gain of 1.0. following the mixer, the quadrature signal is passed to the ?ed coef?ient rrc ?tering block, which has a gain of 1.13 if enabled and 1.0 if bypassed. next, the agc supplies gain to maintain an optimal signal level at the input to the soft decision slicer, cartesian to polar converter, and the symbol tracking loop. the gain supplied by the agc ranges from 1.0 to 1.9844*2 3 . following the agc, the signal path is limited to 8 bits and passed through the integrate and dump filter en route to the soft decision slicer and symbol tracking block. the i&d filter uses an accumulator together with a sample pair summer to achieve the desired decimation rate. the i&d shifter is provided to compensate for the gain introduced by the i&d accumulator. the accumulator introduces gain equal to the decimation factor r, and the shifter gain can be set to 1/r. for example, if the i&d filter decimation of 16 is chosen the i&d accumulator will accumulate 8 samples before dumping, which produces a gain of 8. thus, for unity gain, the i&d shifter would be set for a gain of 2 -3 . the sample pair summer is unity gain since its output is scaled by one-half. symbol tracking the symbol tracking loop adjusts the baseband sampling frequency to force sampling of the baseband waveform at optimal points for data decisions. the key elements of this loop are the sampling error detector and symbol tracking loop filter shown in figure 11. the output of these two blocks is a frequency correction term which is used to adjust the baseband sample frequency external to the HSP50210. in typical applications, the frequency correction term is fed back to the hsp50110 to adjust baseband sampling via the resampling nco (see hsp50110 datasheet). synthesizer/ g = 1.0, 0.5 (note 1) -2 0 2 -9 2 -1 mantissa 1.0 - 1.9844 (0.0156 steps) exponent 2 0 -2 3 mixer g = 1.0 - 1.9844*2 3 l i m i t sample pair summer binary agc gain part rrc filter g = 1.0, 1.13 (note 2) -2 0 2 0 2 -10 2 -1 -2 1 rnd 2 -10 2 -1 rnd 2 0 2 -9 2 -1 2 1 2 2 2 3 2 4 -2 5 -2 0 2 -7 2 -1 int/dump accumulator g = 1-16 2 -7 2 -1 2 0 2 1 2 2 2 3 -2 4 rnd int/dump shifter g = 2 0 - 2 -4 2 -11 2 -1 2 0 2 1 2 2 2 3 -2 4 -2 0 2 -6 2 -1 -2 0 2 -6 2 -1 g = 0.5, 1.0 (note 3) 2 -7 input to soft decision slicer and symbol tracking block input to cartesian to polar converter if agc output selected input to cartesian to polar converter if int/dump output selected input point integrate and l i m i t dump filter notes: 1. if the mixer is enabled the result of the complex multiply is scaled by two (g = 0.5). if the mixer is bypassed, the data pas ses unmodified (g = 1.0). 2. if the root raised cosine filter is enabled, a gain of g = 1.13 is introduced. if the rrc filters bypassed, the gain is unity . 3. if the integrate and dump filter is bypassed the sample pair summer has a gain of g = 1.0 and the 2 -7 -bit position is set to 1. if the integrate and dump is enabled, the sample pair sum is scaled by one half (g = 0.5). 4. the negative sign on the msbs indicates use of 2? complement data format. figure 10. gain distribution and intermediate bit weightings (note 4) / 8 g agc HSP50210
3-15 - + + mid-symbol transition detect data decision mid-symbol ? ?1 ? mux ? single/ double mux ? reg reg mux reg reg lead mantissa acq lead mantissa track lead exponent acq lead exponent track zero lead sampling error detector frz_st ? mux ? reg reg reg reg lag mantissa acq lag mantissa track lag exponent acq lag exponent track zero lag lead gain mux acc load upper/lower acc limits lag serial output formatter sof sofsync mid and end symbol samples i mid i end q mid q end symbol track loop filter r e g data decision transition detect transition mid-point mux ? ?1 ? mux + accumulator + mux lag gain + error accum. transition mid-point mux mux mux error invert invert sampling error reg limit shift shift - register enable rate ! = symbol rate blank = clk rate ! rail ! figure 11. symbol tracking reg to p interface HSP50210
3-16 sampling error detector the sampling error detector is a decision based error detector which determines sampling errors on both the i and q processing paths. the detector assumes that it is fed with samples of the baseband waveform taken in the middle of the symbol period (mid-symbol sample) and between symbols (end-symbol sample) as shown in figure 12. the sampling error is a measure of how far the mid-symbol sample is from the symbol transition mid-point. the transition mid-point is half way between two symbol decisions. the detector makes symbol decisions by comparing the end-symbol samples against a selectable threshold set (see modulation order select bits 9-10 in table 28). the error term is generated by subtracting the mid- symbol sample from the transition mid-point. the sign of the error term is negated for negatively sloped symbol transitions. if no symbol transitions are detected the error detector output is zeroed. errors on both the i and q processing paths are summed and divided by two if double rail error detection is selected (see symbol tracking con?uration control register, bit 8: table 28). the sampling error detector provides an error accumulator to compensate for the processing rate of the loop ?ter. the error detector generates outputs at the symbol rate, but the loop ?ter can only accept inputs every eight f clk clocks. thus, if the symbol rate is faster than 1/8 clk, the error accumulator should be used to accumulate the error until the loop ?ter is ready for a new input. if the error accumulator is not used when the symbol rate exceeds 1/8 clk, some error outputs will be missed. for example, if f clk = 40mhz, then error accumulation is required for symbol rates greater than 5 msps (f clk /8). note: the loop ?ter lead gain term must be scaled accordingly if the accumulator is used. symbol tracking loop filter the symbol tracking loop filter is a second order lead/lag filter. the sampling error is weighted by the lag gain and accumulated to give the integral response (see figure 11). the lag accumulator output is summed with the sampling error weighted by the lead gain. the result is a frequency term which is output serially, via the sof output, to the nco/vco controlling the baseband sample rate (see serial output section). in basic configurations, the sof output of the HSP50210 is connected to the sof input of the hsp50110. two sets of registers are provided to store the loop gain parameters associated with acquisition and tracking. the appropriate loop gain parameters are selected manually via the microprocessor interface or automatically via the carrier lock detector. the loop ?ters lead and lag gain terms are represented as a mantissa and exponent. the mantissa is a 4-bit value which weights the loop ?ter input from 1.0 to 1.9375. the exponent de?es a shift factor that provides additional weighting from 2 -1 to 2 -32 . together the loop gain mantissa and exponent provide a gain range between 2 -32 and ~ 1.0 as given by, lead/lag gain = (1.0+m*2 -4 )*2 -(32 -e) (eq. 10) where m = a 4-bit binary number from 0 to 15, and e is a 5-bit binary value ranging from 0 to 31. for example, if m = 0101 and e = 00110, the gain = 1.3125*2 -26 . they are stored in the control registers described in table 31 and table 32. a limiter is provided on the lag accumulator output to keep the baseband sample rate within a user defined range (see table 29 and table 30). if the lag accumulator exceeds either the upper or lower limit, the accumulator is loaded with the limit. for additional loop filter control, the loop filter output can be frozen by asserting the fz_st pin which null the sampling error term into the loop filter. the lag accumulator can be initialized to a particular value and can be read via the microprocessor interface as described in the section ?eading from the microprocessor interface? and table 33. the symbol tracking loop filter bit weighting is identical to the carrier tracking loop bit weighting, shown in figures 9 and 10. soft decision slicer the soft decision slicer encodes the i/q end-symbol samples into 3-bit soft decisions. the input to the slicer is assumed to be a bi-polar (2ary) baseband signal representing encoded values of either ??or ?? the most signi?ant bit of the 3-bit soft decision represents a hard decision with respect to the mid-point between the expected symbol values. the 2 lsbs represent a level of con?ence in the decision. they are determined by comparing the magnitude of the slicer input to multiples (1x, 2x, and 3x) of a programmable soft decision threshold (see figure 13). x x x sampling error end-symbol sample expected symbol levels x x figure 12. tracking error associated with baseband sampling on either i or q rail (bpsk/qpsk) transition midpoint mid-symbol sample x HSP50210
3-17 the soft decision threshold represents a range of magnitude values from 0.0 to ~ 0.5. note: since the input to the slicer has a range of 0.0 to ~ 1.0, the threshold setting should be set to less than 1.0/3 = 0.33. this avoids saturation. the slicer decisions are output in either a twos complement or sign/magnitude format (see soft decision slicer configuration control register, bit 7: table 40). the slicer input to output mapping for a range of input magnitudes is given in table 7. for example, a negative input to the slicer whose magnitude is greater than twice the programmable threshold but less than 3x the threshold would produce a sign/magnitude output of 110 (binary). the i and q inputs to the slicer are encoded into 3-bit soft decisions isoft(2-0) and qsoft(3-0). these signals are routed to the outa(9-4) outputs by the output configuration control register selector bits 0-3 (see table 42). carrier phase error detector the carrier phase error is computed by removing the phase modulation from the phase output of the cartesian to polar converter. to remove the modulation, the phase term is rotated and multiplied (modulo 2 ) to fold the phase error into an arc centered about 0 o but encompasses the whole plane, as shown in figure 14. the phase rotation is performed by adding a 4-bit twos complement phase offset (resolution 22.5 o ) to the 4 msbs of the 8-bit phase term. the multiplication is performed by left shifting the result from 0-3 positions with the msbs discarded and zeros inserted into the lsbs. for example, carrier phase error produces i/q constellation points which are rotated from the expected constellation points as shown in figure 14. by adding an offset of 45 o (0010 0000 binary) and multiplying by 4 (left shift by two positions) the phase modulation is removed, and the error is folded into a 90 o arc centered at 0 o . the left axis represents a decision boundary of 45 o c, implying the vertical axis is 22.5 o as shown in figure 14. the phase offset and shift factors required for different psk orders is given in table 8. configuration of the carrier phase error detector is done via the carrier phase error detector control register, bits 0-5, (see table 17). the phase error term may be selected for output via the output selector configuration control register, bits 0-3 (see table 42). probability density ? ? function threshold 2x threshold 3x threshold threshold 2x threshold 3x threshold stronger weaker stronger weaker hard decision threshold 0.0 0.5 -0.5 ??decision ??decision figure 13. overlay of the hard/soft decision thresholds on the symbol probability density functions (pdfs) for bpsk/qpsk signals) fs 0 1/3 1/2 -fs threshold msb-1 msb-1 1/2 1/3 threshold msb msb msb-1 msb-1 table 7. slicer input to output mapping signal input polarity slicer input magnitude relative to sign/magnitude output two? complement output 1x threshold 2x threshold 3x threshold +>>>011011 +>> 010 010 +> < 001 001 + < < 000 000 - < < 100 111 -> < 101 110 ->> 110 101 - > > > 111 100 HSP50210
3-18 in applications where phase error terms are generated faster than the processing rate of the carrier loop filter, an error accumulator is provided to accumulate errors until the loop ?ter is ready for a new input. phase error terms are generated at the rate i/q samples are input to the cartesian to polar converter. however, the carrier loop filter can not accept new input faster than clk/6 since six clk(f clk ) clock edges are required to complete its processing cycle. if the error accumulator is not used and the i/q sample rate exceeds clk/6, error terms will be missed. note: the carrier phase error terms input to the loop ?ter are only generated from the end-symbol samples when the output of the i&d ?ter is selected for input to the cartesian-to-polar converter. note: the loop ?ter lead gain term must be scaled accordingly if the accumulator is used. carrier loop filter the carrier loop filter is second order lead/lag ?ter as shown in figure 14. the loop ?ter is similar to the symbol tracking loop filter except for the additional terms from the afc loop filter and the frequency sweep block. the output of the lag accumulator is summed with the weighted phase error term on the lead path to produce a frequency control term. the carrier loop filter is con?ured for operation by the control registers described in tables 20 to 27. the carrier tracking loop is closed by using the loop ?ter output to control the nco or vco used to down convert the channel of interest. in basic con?urations, the frequency correction term controls the synthesizer nco in the hsp50110 digital quadrature tuner via the cof and cofsync pins of the HSP50210s serial interface (see serial output section). in applications where the carrier tracking is performed using the nco on board the HSP50210, the loop ?ter output is fed to the on-board nco as a frequency control. the gain for the lead and lag paths of the carrier loop filter are set through a programmable mantissa and exponent. the mantissa is a 4-bit value which weights the loop ?ter input from 1.0 to 1.9375. the exponent de?es a shift factor that provides additional weighting from 2 -1 to 2 -32 . together the loop gain mantissa and exponent provide a gain range between 2 -32 and ~ 1.0 as given by, lead/lag gain = (1.0+m*2 -4 )*2 -(32 -e) (eq. 11) where m = a 4-bit binary number from 0 to 15, and e is a 5-bit binary value ranging from 0 to 31. for example, if m = 0101 and e = 00110, the gain = 1.3125*2 -26 . the loop gain mantissa and exponent are set in the carrier loop gain control registers (see tables 24 - 25). the phase error input to the carrier loop filter is an 8-bit fractional twos complement number between ~1.0 to -1.0 (format -2 0 . 2 -1 2 -2 2 -3 2 -4 2 -5 2 -6 2 -7 ). some lsbs are zero for bpsk, qpsk and 8-psk. if minimum loop gain is used, the phase error is shifted in signi?ance by 2 -32 . with maximum loop gain, the phase error is passed almost unattenuated. the output of the carrier loop ?ter is a 40-bit fractional twos complement number between ~1.0 and -1.0 (format -2 0 . 2 -1 2 -2 2 -3 ..... 2 -39 2 -40 ). in typical applications, the 32 msbs of the loop filter output represent the frequency control word needed to adjust the down converting nco for phase lock. tables 9 and 10 illustrate the bit weighting of the carrier loop filter into the nco for both tracking and acquisition sweep modes. a limiter is provided on the carrier lag accumulator output to keep frequency tracking within a user de?ed range (see tables 22 - 23). if the lag accumulator exceeds either the upper or lower limit the accumulator is loaded with the limit. for additional loop ?ter control, the carrier loop filter output can be frozen by asserting the fz_ct pin which nulls the phase error term into the loop ?ter. also, the lag accumulator can be initialized to a particular value via the microprocessor interface as described in table 27 and can be read via the microprocessor interface as described in ?eading from the microprocessor interface section? table 8. basic phase error detector settings modulation type phase offset shift factor phase er- ror range cw 0 o (00 hex) 0 (no shift) 180 bpsk 0 o (00 hex) 1 (left shift 1) 90 qpsk 45 o (20 hex) 2 (left shift 2) 45 8-psk 22.5 o (10 hex) 3 (left shift 3) 22 x x e q i e q i x x i expected constellation point actual constellation point phase rotation by 45 o multiplication by 4 (modulo 2 ) input to cartesian/polar converter projection of phase error ( e ) about 0 o figure 14. phase error detector operation (qpsk) 0 o 180 o -90 o 90 o decision region boundary 45 o x 0 o 45 o -22.5 o decision region boundary 0 o 180 o -90 o 90 o x decision region boundary x xx q 22.5 o e HSP50210
3-19 phase offset shift left 0, 1, 2, 3 mux ? mux lead mantissa acq lead mantissa track lead exponent acq lead exponent track zero lead carrier phase mux ? mux lag mantissa acq lag mantissa track lag exponent acq lag exponent track zero lag carrier lead gain carrier lag gain mux acc load upper/lower acc limits lag serial output formatter cof carrier loop filter shift error detect reg delay (1, 2, 4, 8, 16) discriminator frequency shift shift left 0, 1, 2, 3 mux ? mux mantissa acq mantissa track exponent acq exponent track zero afc afc gain carrier error detect shift mux ? sweep rate mantissa sweep rate exponent zero sweep afc loop filter frequency sweep phase error frequency error to output select block frz_ct cofsync lag/lead + lag lead/lead + lag to nco + ( e ) + accumulator shift shift reg limit ? error accum. mux error invert invert frequency error phase output from cartesian to polar converter to lock detect reg shift mux + - ? error accum. mux error invert invert phase error mux mux shift mux mux reg reg + + @ or ! @ or ! @ or * acq track + from microprocessor interface register enable rate @ = sync rate = twice symbol ! = symbol rate blank = clk rate * reg frequency figure 15. carrier acquisition/tracking loop block diagram reg to p interface HSP50210
3-20 table 9. bit weighting in the carrier loop filter to the nco - tracking bit weight e (and accom.) mantissa gain mult out bits kept (rnd) shift = 0 shift ? 32 shift counts nco bit weight output frequency resolution 40 0f clk 39 obtained with a shift of 31 and a gain of 01.1111 (~2) (8) - shift31 1 f clk /2 38 7. - shift31 2 f clk /4 37 6 - shift30 3 f clk /8 36 5 - shift29 4 f clk /16 35 4 - shift28 5 f clk /32 34 3 - shift27 6 f clk /64 33 2 - shift26 7 f clk /128 32 1 - shift25 8 f clk /256 31 0 - shift24 9 f clk /512 30 - shift23 10 f clk /1024 29 - shift22 11 f clk /2048 28 - shift21 12 f clk /4096 27 - shift20 13 f clk /8192 26 - shift19 14 f clk /2 14 25 - shift18 15 f clk /2 15 24 - shift17 16 f clk /2 16 23 - shift16 17 f clk /2 17 22 - shift15 18 f clk /2 18 21 - shift14 19 f clk /2 19 20 - shift13 20 f clk /2 10 19 - shift12 21 f clk /2 21 18 - shift11 22 f clk /2 22 17 - shift10 23 f clk /2 23 16 - shift9 24 f clk /2 24 15 - shift8 25 f clk /2 25 14 - shift7 26 f clk /2 26 13 17 - shift6 27 f clk /2 27 12 (12) 16 17 = (12) (12) - shift5 28 f clk /2 28 11 (11) 15 16 = (11) (11) - shift4 29 f clk /2 29 10 (10) 14 15 = (10) (10) - shift3 30 f clk /2 30 9 (9) 13 14 = (9) (9) - shift2 31 f clk /2 31 8 (8) 0 12 13 = (8) (8) - shift1 32 f clk /2 32 7 7. 1. 11. 12. = 7. 7. - shift0 33 f clk /2 34 6 6 x 10 11 = 6 6 34 f clk /2 34 5 5 x 9 10 = 5 5 35 f clk /2 35 4 4 x 8 9 = 4 4 36 f clk /2 36 3 3 x 7 8 = 3 3 37 f clk /2 37 2 2 6 7 = 2 2 38 f clk /2 38 1 1 5 6 = 1 1 39 f clk /2 39 0 0 4 5 = 0 0 40 f clk /2 40 3 (rnd) 2 1 0 HSP50210
3-21 table 10. bit weighting in the carrier loop filter to the nco - sweep bit weight e sweep mantissa gain shift = 0 shift = 32 shift counts nco bit weight output frequency resolution 40 0f clk 39 shift 27 and gain = 01.1111 (8) - shift28 1 f clk /2 38 7. - shift27 2 f clk /4 37 6 - shift26 3 f clk /8 36 5 - shift25 4 f clk /16 35 4 - shift24 5 f clk /32 34 3 - shift23 6 f clk /64 33 2 - shift22 7 f clk /128 32 1 - shift21 8 f clk /256 31 0 - shift20 9 f clk /512 30 - shift19 10 f clk /1024 29 - shift18 11 f clk /2048 28 - shift17 12 f clk /4096 27 - shift16 13 f clk /8192 26 - shift15 14 f clk /2 14 25 - shift14 15 f clk /2 15 24 - shift13 16 f clk /2 16 23 - shift12 17 f clk /2 17 22 - shift11 18 f clk /2 18 21 - shift10 19 f clk /2 19 20 - shift9 20 f clk /2 10 19 - shift8 21 f clk /2 21 18 - shift7 22 f clk /2 22 17 - shift6 23 f clk /2 23 16 - shift5 24 f clk /2 24 15 - shift4 25 f clk /2 25 14 - shift3 26 f clk /2 26 13 - shift2 27 f clk /2 27 12 (12) 0 5 - shift1 28 f clk /2 28 11 (11) 1. 4. - shift0 29 f clk /2 29 10 (10) x 3 30 f clk /2 30 9 (9) x 2 31 f clk /2 31 8 (8) x 1 32 f clk /2 32 77. x 0 33 f clk /2 34 66 z 34 f clk /2 34 55 z 35 f clk /2 35 44 z 36 f clk /2 36 33 z 37 f clk /2 37 22 z 38 f clk /2 38 11 z 39 f clk /2 39 00 z 40 f clk /2 40 note: 5. sw min = 2 -29 at 1% flb, 4m clk , 0.075hz/baud = 12kbps. HSP50210
3-22 frequency sweep block the frequency sweep block is used during carrier acquisition to sweep the range of carrier uncertainty. the sweep block is loaded with a programmable value which is input to the lag path of the carrier tracking loop filter when frequency sweep is enabled. the sweep value is accumulated by the loop filters lag accumulator which causes a frequency sweep between the accumulators upper and lower limits. when one of the limits is reached, the sweep value is inverted to sweep the frequency back toward the other limit. the frequency sweep block is controlled by the lock detector and is only enabled during carrier acquisition (see lock detector control section). a stepped acquisition mode is provided for microprocessor controlled acquisition. in the stepped acquisition mode, the lag accumulator is incremented or decremented by the programmed sweep value each time the lock detector is restarted during acquisition. this technique prevents the loop from sweeping past the lock point before the microprocessor can respond. typically in stepped acquisition mode, the step value is set to a percentage of the loop bandwidth. a dwell counter is also provided for stepped acquisition. this counter holds off the lock detector integration from 1 to 129 symbols to allow the loop to settle before starting the integration. the sweep value is set via a programmable mantissa and exponent. the format is 01.mmmm * 2 -(28 - eeeee) where mmmm is the 4-bit mantissa and eeeee is the 5-bit exponent and the weighting is relative to the msb of the nco control word. in swept acquisition mode, the sweep value is the amount that the carrier lag accumulator is incremented or decremented each time a new filter output is calculated (sweep rate/n). in stepped acquisition mode, it is the amount the lag accumulator is incremented or decremented each time that the lock detector is restarted. (see frequency sweep/afc control loop control register, table 26.) carrier frequency detector the frequency detector generates a frequency term for use in automatic frequency control (afc) configurations. the frequency detector (discriminator) subtracts a previous phase error sample from the current one (d/dt) to produce a term proportional to the carrier frequency. the discriminator gain is adjusted by programming a variable delay (1-16) between the samples subtracted (see frequency detector control register ; table 18). note: the input to the discriminator corresponds to phase terms taken from baseband samples at either the sync rate or twice symbol rate depending on the input source chosen for the carte- sian to polar converter. carrier frequency error detector the frequency error detector is used to generate a frequency error term for fsk modulated wave forms. the error is computed by adding an offset and shifting the frequency detector output in a manner similar to that used by the phase error detector. for psk demodulation, this block is bypassed by setting the offset and shift terms to zero (see frequency error detector control register; table 19). the frequency error term may be selected for output via the output select block. (see serial output configuration control register, table 42). automatic frequency control (afc) loop filter the afc loop filter supplies a frequency correction term to the lag path of the carrier loop filter. the frequency correction term is generated by weighting the output of the frequency error detector by a user programmable weight (see sweep/afc control register ; table 26). note: if afc is not desired, the frequency error term to the loop filter is nulled via the carrier tracking configuration control register #2 (see table 21). serial output interfaces frequency control data for carrier and symbol tracking is output from the dcl through two separate serial interfaces. the carrier offset frequency control is output via the cof and cofsync pins. the symbol tracking offset frequency control is output via the sof and sofsync pins. a sloclk is provided to allow for reduced serial rate data exchanges. the timing relationship of these signals is shown in figure 16. each serial word has a programmable word width of either 8, 12, 16, 20, 24, 28, 32, or 40 bits (see table 41, cw27, bits 4- 6 for cof and bits 0-2 for sof). the polarity of the sync signals is programmable and is set in cw27 bit 12 for sof and bit 11 for cof. the polarity of the serial clock to the serial data is programmed via cw27 bit 10. if reduced rate frequency updates is required, the sloclk rate is selected via cw27 bit 7 and the rate is set via cw27 bits 8-9, to be either clk/2, clk/4, clk/8 or clk/16. note that if the dcl is used with the hsp50110 dqt, then the sloclk cannot be used, i.e., the serial clock must be set to be clk. lock detector the lock detector consists of the dwell counter, integration counter, phase error accumulator, false lock/frequency accumulator, gain error accumulator and the lock detect state machine (see figure 16). the function of the lock detector is to monitor the baseband symbols and to decide cof/ msb msb clk cofsync/ sofsync sof lsb ote: data must be loaded msb ?st. figure 16. serial output timing for cof and sof outputs HSP50210
3-23 whether the carrier tracking loop is locked to the input signal. note: the symbol tracking loop locks independently; under most circumstances, it will lock before the carrier tracking loop locks up. based on the in-lock/out-of-lock decision, either the acquisition or tracking parameters are selected in the carrier tracking loop, the symbol tracking loop and in the lock detector itself. the lock detector can be con?ured either to make the ?ock decision automatically using the state machine control mode, or to collect the necessary data so that an external microprocessor can control the acquisition/tracking process via the microprocessor control mode (see figure 22). in state machine control mode, the lock detector state machine monitors the outputs of the phase error accumulator and the false lock accumulator to determine the lock detector state. accumulation effectively averages the phase error and false lock count, reducing their variance. lock is detected by accumulating the magnitude of the phase error over a predetermined interval up to 1025 symbols (the integration time). when the carrier loop is locked, the integration period will end before an overflow occurs in the phase error accumulator. at the beginning of a lock detection cycle, the phase error accumulator and the integration counter are loaded with their respective pre-load values. with each end bit sample, the phase error accumulator adds the magnitude of the current phase error to its accumulated sum, while the integration counter decrements one count. the lock detector state machine monitors the overflow bit of the phase error accumulator and the output of the integration counter. if the phase error accumulator overflows before the integration counter reaches zero, then the accumulated phase error is too large for the carrier tracking loop to be in lock and the lock detector state machine goes into the search state (see lock detector state machine below). in the search state, the loop parameters are reloaded with ?cquisition?rather than ?racking?values. when the phase accumulator overflows or when the integration counter reaches zero, the integration counter and the accumulators are re-initialized and the process begins again. the integration counter pre-load corresponds to the number of symbols over which to integrate. the phase error preload corresponds to the distance the phase error accumulator starts away from overflow. this distance divided by the integration period equals the average phase error. the pre-load value is calculated using: preload = (eq. 12) where full scale = 2 18 -1 full scale phase = 180 o for cw, 90 o for bpsk, 45 o for qpsk, etc; lock threshold <45 o for bpsk, <22.5 o for qpsk, etc. (typical after shift); and integration count = integration period measured in symbol times. the false lock detector is used to indicate false lock on square wave data in a high snr environment. a false lock condition is detected by monitoring the ?al integration stage in the q branch of the integrate and dump filter (see figure 3). if the magnitude of the integration over the symbol period is less than the integration over half a symbol period, a possible false lock condition is detected; (integration over a symbol period has gone from end-bit to end-bit, while integration over half the symbol period has gone from the previous end-bit to mid-bit). by accumulating the number of these occurrences over the integration period, the lock detector state machine determines whether a false lock condition exists. the false lock accumulator is used to accumulate the number of possible false lock occurrences over the integration period. the false lock accumulator can also be con?ured to accumulate the output of the frequency error detector (see lock detection con?uration control register bit 27: table 34). the gain error accumulator provides a mechanism to estimate data quality (e s /n o ). the accumulator integrates the magnitude of the gain error of the end-bit samples, over the integration period. note: the gain error end-bit data is valid only after lock has been declared, and the demod is the tracking mode. the accumulated value gives an indication of the variance about the ideal constellation points. the accumulator output is read via the microprocessor interface. the gain error accumulator is always pre-loaded with zero. for applications where stepped acquisition is used, a dwell counter is provided. in this mode, the lag accumulator in the carrier loop filter is stepped to a new frequency after each lock detector integration. the dwell counter is used to hold off lock accumulator integration until the loop has a chance to settle. lock detector control the selection of acquisition and tracking modes is controlled by either the internal state machine or an external microprocessor. the internal state machine monitors the rollover of the phase error accumulator and the false lock accumulator relative to the integration counter. depending on whether the accumulators or counter roll over ?st, the acquisition or tracking parameters are selected for the loop filters and the lock detector accumulators. in addition, the state machine controls the frequency sweep input to the carrier tracking loop. the ?w of the acquisition control is shown in the state diagram in figure 17. the state machine controls the acquisition process as described below: search. the frequency uncertainty is swept by enabling the frequency sweep block to the lag path of the carrier tracking loop filter. the acquisition parameters are enabled to the loop filters and the lock detector accumulators. phase lock is obtained when the lock counter rolls over before the phase error accumulator (average phase error is less than the lock threshold). full scale lock threshold full scale phase ---------------------------------------------- x 128 x integration count ?? ?? HSP50210
3-24 verify. once phase lock is obtained, the frequency sweep is disabled and the tracking parameters are enabled. lock is veri?d if the accumulated phase error is below the threshold for a programmable number of integration periods. false lock conditions are also monitored by comparing the roll over of the false lock accumulator to that of the integration counter. if the false lock accumulator rolls over before the integration counter, a false lock condition exists. false lock. once a false lock has been determined, the frequency sweep block is enabled to move the carrier tracking beyond the false lock region. the frequency sweep is performed for a programmable number of integration periods before returning to the search state. lock. when phase lock has been veri?d, the lock status output is asserted and the false lock detector is disabled. the lock state is maintained as long as the integration counter rolls over before the phase error accumulator. if the acquisition and tracking process is controlled externally, the phase error accumulator and false lock accumulators are monitored by an external processor to determine when lock has been achieved. in this mode the accumulator pre- loads are typically set to zero and the accumulator output is compared in the processor against a threshold equal to the maximum phase error per sample times the number of samples per integration period. the accumulators stop after each integration period to hold their outputs for reading via the microprocessor interface (see read enable address map; table 11). the accumulators are restarted by writing the initialize lock detector control address (see initialize lock detector control register: table 44). to simplify the processor interface, the lkint output is provided to interrupt the processor when the accumulator integration period is complete. the processor controls the use of the acquisition/tracking parameters and lock status line by setting the appropriate bits in the acquisition/tracking configuration control register (see table 37). in addition, the frequency sweep function is enabled via the microprocessor interface. dwell counter integration counter lock detector state machine mux |x| ? track int period acq int period track phase error preload acq phase error preload track phase error false lock preload acq false lock preload track false lock/ frequency error gain error + mux reg mux |x| + mux |x| + mux ? acquire/ track overflow overflow mux mux dwell count acq reg reg figure 17. lock detector block diagram tc start tc swept HSP50210
3-25 serial output controller the frequency correction terms generated by the symbol and carrier loop filters are output through two separate serial interfaces. the symbol frequency offset used to close the symbol tracking loop is output via the sof and sofsync outputs. the carrier offset frequency used to close the carrier tracking loop is output via the cof and cofsync outputs. the serial output timing, identical for both of the loop ?ter outputs, is shown in figure 18. the data word is output msb ?st starting with the ?st rising edge of either clk or sloclk that follows the assertion of sync (cofsync or sofsync). the HSP50210 is con?ured to output the serial data with either clk or sloclk (see serial output con?uration control registers bit 7, table 41). the sloclk output is a programmable sub-multiple of clk which is provided for applications requiring a slower serial clock. in applications where the HSP50210 is used with the hsp50110, both parts must be supplied with the same clk and the HSP50210 is con?ured to use clk as the serial clock. the serial output can be con?ured for word containing from 8 to 40 bits. output selector the output selector determines which internal signals are multiplexed to the aout9-0 and bout9-0 outputs. fifteen different output options are provided: isoft(2:0), qsoft(2:0), iend(7:1), qend(7:1), agc(7:1), mag(7:0), phase(7:0), freqerr(7:1), gainerr(7:1), bitpherr(7:1), carpherr(7:1), lkacc(6:0), lkcnt(6:0), ncocos(9:0), and status (6:0). these are detailed in the output selector configuration control register, bits 0-3 (see table 42). search verify lock false lock phase error accumulator finishes before integration counter integration counter finishes before phase error accumulator phase error accumulator finishes before integration counter integration counter finishes before phase error accumulator and verify counter done false lock accumulator before lock counter false lock counter not done integration counter finishes before phase error accumulator and verify counter not done false lock counter done integration counter finishes before phase error accumulator phase error accumulator finishes before integration counter figure 18. acquisition/tracking state diagram cof/ msb msb clk/ cofsync/ sofsync sof sloclk note: cofsync and sofsync shown configured as active ?igh? figure 19. serial output timing for cof and sof outputs HSP50210
3-26 the status bit de?ition is: to simplify the output interface, a symbol clock (smblclk) is output which is synchronous to the soft bit decisions produced by the slicer. the smblclk is a 50% duty cycle clock whose rising edge is centered in the middle of the output data period for both the soft bit decisions and the end- symbol samples, as shown in figure 19. microprocessor interface the microprocessor interface is used to write the HSP50210s control registers and monitor various read points within the demodulator. data written to the interface is loaded into a set of four 8-bit holding registers, one write address register, or one read address register. these registers are accessed via the 3-bit address bus (a0-2) and an 8-bit data bus (c0-7) as shown in table 11. the r/w column indicates whether the data is read from or written to the given address. data is read from an internal status register and a series of output holding registers. the output holding registers range in size from 8 to 32 bits, and their contents are multiplexed out a byte at a time on c7-0 by controlling a2-0 and asserting rd. the addresses listed in table 11 with the r indicator provide the address map used for reading data from the microprocessor interface. writing to the microprocessor interface the HSP50210 is configured for operation by loading a set of thirty-two control registers which range in size from 0 to 32 bits. they are loaded by first writing the configuration data to the microprocessor interfaces four holding registers and then writing the target address to the write address register as shown in figure 19. the control register address map and bit definitions are given in tables 14 - 45. the configuration data is transferred from the holding registers to the target control register on the fourth clock following a write to the address register. as a result, the holding registers should not be updated any sooner than 4 clks after an address register write (see figure 20). note: the holding registers which map to the unused bits of a particular control register do not have to be loaded. reading from the microprocessor interface the microprocessor interface is used to monitor demodulator operation by providing the ability to read the accumulator contents in the lock detector and loop filters. in addition, the interface is used to monitor the HSP50210s internal status register. more clearly, the following data is available to be read: status bit definition 6 carrier tracking loop lock 5 acq/trk 4 frequency sweep direction 3 high power 2 low power 1 data rdy table 11. read/write address map for microprocessor interface r/ w a2-0 description w 000 input holding register 0. transfers to bits 7-0 of the target control register. bit 0 is the lsb of the target register. w 001 input holding register 1. transfers to bits 15-8 of the target control register. w 010 input holding register 2. transfers to bits 23-16 of a 32-bit target control register. w 011 input holding register 3. transfers to bits 31-24 of the target control register. bit 31 is the msb of the 32-bit register. w 100 write address register. the register is loaded with the address of the control register targeted for update. the address map for the control registers is given in tables 1c-32c. note: addresses outside the range 0-31 are invalid. smblclk isoft2-0/ qsoft2-0/ iend7-1/ qend7-1 figure 20. output data clock timing w 101 read address register. the address loaded into this register speci?s an internal read point as given the by address map in table 12. addresses outside the range 0-4 are invalid. r 000 selects output holding register bits 7-0 for output on c7-0 respectively. bit 0 is the lsb of the internal hold- ing register. r 001 selects output holding register bits 15-8 for output on c7-0, respectively. r 010 selects output holding register bits 23-16 for output on c7-0, respectively. r 011 selects output holding register bits 31-24 for output on c7-0, respectively. bit 31 is the msb. r 100 multiplexes 8 bits of internal status out on c7-0. see table 13 for bit map. table 11. read/write address map for microprocessor interface (continued) r/ w a2-0 description HSP50210
3-27 a different read procedure is required depending on whether the lock detector accumulators, loop filter accumulators, or the status register is to be read. the read procedures are summarized in figures 21 - 23. the accumulators in the agc loop filter, carrier loop filter and symbol tracking loop can be read via the microprocessor interface. since these accumulators are free running, their contents must be loaded into output holding registers before they can be read. each accumulator has its own output holding register. the three holding registers are updated by loading 29 (decimal) into the write address register of the microprocessor interface. the output of a particular holding register is then enabled for reading by loading its address into the read address register (see tables 13 and 14). the holding register addresses for the loop filter accumulators range from 0 to 4 as given in table 12. the contents of the output holding registers are multiplexed out a byte at a time on c7-0 by changing a2-0 and asserting rd (see read/write address map in table 11). the contents of the three accumulators in the lock detector can also be read via the microprocessor interface. however, the lock detector must be stopped before a read can be performed. in state machine control mode, the lock detector is stopped by loading 24 (decimal) into the write address register. in microprocessor control mode, the lock detector stops after each integration period. to determine when the lock detector has stopped and is ready for reading, bits 7 and 6 of the internal status register (sr7&6) must be monitored (see table 15). the control sequence for reading a lock detector accumulator is shown in figure 22. the control sequence for reading a lock detector accumulator using the lkint signal is shown in figure 23. an 8-bit internal status register (sr7-0) can also be monitored via the microprocessor interface. the status register indicates loop filter and lock detector status as listed in table 13. the status register contents are output on c7-0 by setting a2-0 to 100(binary) an asserting rd as shown in figure 24. the register contents are updated each clk. # registers definition (4) 32-bit carrier loop letter lag acc. output (4) 32-bit symbol tracking loop letter lag acc. output (1) 8-bit agc loop letter output (2) 16-bit lock detector e acc. output (2) 16-bit lock detector ge acc. output (2) 16-bit lock detector fl/fe acc. output (1) 8-bit internal status total = 16 table 12. read enable address map address holding register enable 0 carrier loop filter lag accumulator. enables output of holding register containing 32 msbs of the lag accumulator. 1 symbol tracking loop filter lag accumulator. enables output of holding register containing 32 msbs of the lag accumulator. 2 agc gain. enables output of holding register containing 8 msbs of the agc accumulator. 3 lock detector 1. the 16 msbs of the lock detectors phase error accumulator and the 16 msbs of the false lock accumulator are enabled for output. the accumulator contents are selected for output as follows, a2-0 = 3 (decimal) selects msbyte of the phase error accumulator, a2-0 = 2 (decimal) selects lsbyte of the phase error accumulator, a2-0 = 1 (decimal) selects msbyte of the false lock accumulator, and a2-0 = 0 (decimal) selects lsbyte of the false lock accumulator. 4 lock detector 2. enables the 16 msbs of the lock detectors gain error accumulator for output. the msbyte of the accumulator is selected for output by setting a2-0 = 1, and the lsbyte is selected by a2-0 = 0. HSP50210
3-28 wr clk a0-2 c0-7 note: these processor signals are meant to be representative. the actual shape of the waveforms will be set by the microprocessor used. verify that the processor waveforms meet the parameters in the waveforms section of this data sheet to ensure proper operation. the pr ocessor wave- forms are not required to be synchronous to clk. they are shown that way to clarify the illustration. figure 21. control register loading sequence 1234 earliest time another load can begin 4 3 2 1 0 01 don? care rd processor signals note: these processor signals are meant to be representative. the actual shape of the waveforms will be set by the microprocessor used. verify that the processor waveforms meet the parameters in the waveforms section of this data sheet to ensure proper operation. the pr ocessor wave- forms are not required to be synchronous to clk. they are shown that way to clarify the illustration. load the write address register with 29 dec to load the output holding registers. enable carrier loop filter lag accumulator holding register for reading. select the msbyte of the output holding register for output. assert rd low to output data on c0-7. (must wait for 6 clks after loading the holding registers). select other bytes of holding register by changing a0-2 and asserting rd. figure 22. loop filter accumulator read sequence 1 2 3 4 5 wr clk a0-2 c0-7 1234 31 5 4 0 2 don? care rd processor signals 1 2 3 4 5 msb lsb 0 29 5 6 load output holding reg wait 6 clks enable holding reg for read delay to rd assert read read read read address is asynchronous to clk data is asynchronous to clk HSP50210
3-29 table 13. internal status register (sr7-0) bit map note: these processor signals are meant to be representative. the actual shape of the waveforms will be set by the microprocessor used. verify that the processor waveforms meet the parameters in the waveforms section of this data sheet to ensure proper operation. the pr ocessor wave- forms are not required to be synchronous to clk. they are shown that way to clarify the illustration. load the write address register with 24 dec to halt the lock detector after the current integration cycle. this disables the reload of the integration counter in the lock detector. the verify counter is not reset and will resume at the stopped value when the lock detector is re started. load the read address register with 3 dec to enable the lock detector phase error accumulator for reading. read internal status register to monitor sr-7 to determine when the lock detector is stopped and ready to be read. sr-7 goes high, indicating the lock detector integration cycle is complete, and ready to be read. read internal status register and ?d sr-7 = 1; the lock detector is ready to be read. change read address to (3; 2; 1; 0) for (phase error msw; pe lsw; false lock msw; fl lsw) read. end of internal status valid data. assert rd to read lock detector status load the write address register with 30 dec to initialize lock detector accumulators and reset the integration counters. (not needed for state machine mode). load the write address register with 25 dec to restart the lock detector. figure 23. processor monitoring internal status/reading lock detector 1 2 3 4 5 6 7 8 9 10 8 6 wr clk a0-2 c0-7 42 5 4 1 3 rd processor signals 30 24 1 2 3 5 6 8 6 8 6 8 pe msw 0 25 dcl signals sr-7 3 7 4 fl msw 9 fl lsw 10 4 lock detection status reads internal status reads enable ld reg. for reading halt ld at end of cycle reset lock detector restart lock detector pe lsw sr7=1 sr7=0 bit bit description 7 lock detector stopped and ready for reading (state machine control mode). 0 = lock detector not stopped. 1 = lock detector stopped, ready for read. 6 lock detector stopped and ready for reading (microprocessor control mode). 0 = lock detector not stopped. 1 = lock detector stopped, ready for read. 5 carrier loop filter lag accumulator load complete. this bit is used to determine when a 32-bit load of carrier lag accu- mulator is complete. the accumulator load is initialized by loading the write address register with 13 (decimal) as de- scribed in table 27. 0 = load not complete. 1 = load complete. 4 symbol tracking loop filter lag accumulator load complete. this bit is used to determine when a 32-bit load of symbol track lag accumulator is complete. the accumulator load is initialized by loading the write address register with 19 (decimal) as described in table 33. 0 = load not complete. 1 = load complete. 3 lock. carrier lock state achieved by lock detector. 0 = not locked. 1 = locked. 2 acquisition/track. indicates whether the lock detector is in acquisition or tracking mode. 0 = tracking mode. 1 = acquisition mode. 1 reserved. 0 frequency sweep direction, de?ed for upper sideband sig- nals. 0 = up. 1 = down. bit bit description (continued) HSP50210
3-30 . 5 6 note: these processor signals are meant to be representative. the actual shape of the waveforms will be set by the microprocessor used. verify that the processor waveforms meet the parameters in the waveforms section of this data sheet to ensure proper operation. the pr ocessor wave- forms are not required to be synchronous to clk. they are shown that way to clarify the illustration. lkint asserts indicating end of lock detector accumulation cycle; accumulators ready to read. set a0-2 to 5 for reading lock detector. load read address register with 3 dec to enable the lock detector phase error accumulator for reading. set a0-2 to 3 for phase error (pe) read. assert rd and read (phase error (pe) msw; pe lsw; false lock (fl) msw; fl lsw). change read address to (2; 1; 0) to read various lock detection values. change address to 4 to initialize the lock detector. load write address register with 30 dec to initialize the lock detector accumulators and reset integration counters. (only has an effect in p mode). keep address to 4 to restart the lock detector. load write address register with 25 dec to restart the lock detector. (only necessary if not in the p mode). figure 24. processor interrupt monitor/lock detector read 1 2 3 4 5 6 7 8 9 10 wr clk a0-2 c0-7 20 3 5 4 1 rd processor signals 1 2 pe lsw 30 3 3 4 5 6 5 6 5 7 8 9 10 pe msw fl msw fl lsw 4 25 dcl signals sr-7 lkint clk a0-2 rd 4 c7-0 status can change every clk figure 25. internal status register read HSP50210
3-31 table 14. data path configuration control register destination address = 0 bit position function description 31-27 reserved reserved. set to 0 for proper operation. 26-24 integrate/dump shifter gain these bits set the shifter attenuation in the integrate/dump filter. 000 = no shift (gain = 2 0 ). 001 = right shift 1 (gain = 2 -1 ). 010 = right shift 2 (gain = 2 -2 ). 011 = right shift 3 (gain = 2 -3 ). 100 = right shift 4 (gain = 2 -4 ). other codes are invalid. 23-16 input level detector threshold this register sets the magnitude threshold for the input level detector (see input level detector section). this 8-bit value is a fractional unsigned number whose format is given by: 2 0 . 2 -1 2 -2 2 -3 2 -4 2 -5 2 -6 2 -7 . the possible threshold values range from 0 to 1.9961 (00 - ff hex). the magnitude range for complex inputs is 0.0 - 1.4142 while that for real inputs is 0.0 - 1.0. note: the algorithm used to estimate threshold produces a maximum output of 1.375, therefore a threshold of greater than 1.375 will never be exceeded. 15 input data format select 0 = two? complement input. 1 = offset binary input. 14 serial/parallel input select 0 = parallel input. 1 = serial input. 13 input level detector output select 0 = hi/lo output of 1 means input threshold. 1 = hi/lo output of 1 means input > threshold. 12 q input to complex multiplier 0 = qin9-0 enabled to complex multiplier. 1 = q input to complex multiplier zeroed. 11 i input to complex multiplier 0 = iin9-0 enabled to complex multiplier. 1 = i input to complex multiplier set to negative full scale (200 hex). 10 complex multiplier bypass 0 = data enabled to complex multiplier (multiplied by output of nco). 1 = complex multiplier bypassed. 9 demodulation/loop filter mode select 0 = error detector outputs routed to loop filters (normal mode of operation). 1 = part functions as dual loop filters. the iin9-0 input is routed to the symbol loop filter; the qin9- 0 input is routed to the carrier loop filter. data is gated into the loop filters with the assertion of sync. 8 cartesian/polar input select 0 = enable output of agc multiplier to cartesian to polar converter. 1 = enable output of integrate and dump filter to the cartesian to polar converter. 7 rrc filter enable 0 = enable rrc filter. 1 = bypass rrc filter. 6 integrate and dump filter test mode 0 = end-symbol samples routed to output formatter. 1 = both end and mid symbol routed to output formatter: end-symbol samples occur when smblclk is high; mid-symbol samples occur when smblclk is low. 5 integrate and dump input select 0 = input taken from output of frequency discriminator (fsk routing). 1 = input taken from output of agc multiplier (select this setting for psk demodulation). 4-1 integrate and dump decimation select bit 4 is the msb. 1000 = no decimation (no accumulation, no sample pair summing). 0000 = decimation by 2 (no accumulation, sample pair summing). 0001 = decimation by 4 (accumulate 2 samples, sample pair summing). 0010 = decimation by 8 (accumulate 4 samples, sample pair summing). 0011 = decimation by 16 (accumulate 8 samples, sample pair summing). 0100 = decimation by 32 (accumulate 16 samples, sample pair summing). all other codes are invalid. 0 oqpsk data de-skew select 0 = disables q channel data delay. 1 = delays q channel by 1/2 symbol time to remove oqpsk stagger. HSP50210
3-32 table 15. power detect threshold control register destination address = 1 bit position function description 31-8 not used no programming required. 7-0 power threshold the thresh output is driven low when the magnitude output of the cartesian to polar converter exceeds the threshold programmed here. the threshold is represented as an 8-bit fractional unsigned value with the following format: 2 0 . 2 -1 2 -2 2 -3 2 -4 2 -5 2 -6 2 -7 . using this format, the possible range of threshold values is between 0 to 1.9961. bit position 7 is the msb. table 16. agc loop parameters control register destination address = 2 bit position function description 31 enable agc 0 = gain error enabled to agc loop filter. 1 = gain error into agc loop filter set to zero. 30-28 agc loop gain exponent (e) these bits set the loop gain exponent as given by: agc loop gain exponent = 2 -(7 + eee) where eee corresponds to the 3-bit binary value programmed here. thus, a gain range from 2 -7 to 2 -14 may be achieved for eee = 000 to 111 binary. bit position 30 is the msb. see table 3. 27-24 agc loop gain mantissa (m) the loop gain mantissa is represented as a 4-bit unsigned value with the following format: agc loop gain mantissa = 0. 2 -1 2 -2 2 -3 2 -4 ; 0.mmmm. this format provides a mantissa range from 0.0 to 0.9375 for mantissa settings from 0000 to 1111 binary. bit position 27 is the msb. mantissa resolution = 0.0625. see table 2. 23-16 agc threshold the agc gain error is generated by subtracting the threshold value programmed here from the magnitude value out of the cartesian to polar converter. the binary format for the agc threshold is the same as that for the power threshold given in table 15. 15-8 agc upper limit the upper 8 bits of the agc accumulator set the agc gain as given by equation 8a. the value programmed here sets upper limit for agc gain by specifying a limit for the upper 8 bits of the agc accumulator. if the accumulated sum exceeds the upper limit, the accumulator is loaded with the limit. these bits are packed as eemmmmmm where the e? correspond to the exponent bits and the m? correspond to the mantissa bits of equation 8 (see also figure 8). bit position 15 is the msb. by setting the agc upper and lower limits to the same value, the agc can be set to a fixed gain. 7-0 agc lower limit the value programmed here sets the lower limit for the upper 8 bits of the agc accumulator in a manner similar to that described for the upper limit. if the accumulated sum falls below the lower limit, the accumulator is loaded with the limit. the format for these bits is as described for the upper limit. by setting the agc upper and lower limits to the same value, the agc can be set to a fixed gain. agc threshold value resulting output level (dbfs) 1.1453 (42h) 0 0.8108 (67h) -3 0.5740 (49h) -6 0.4064 (34h) -9 0.2877 (24h) -12 table 17. carrier phase error detector control register destination address = 3 bit position function description 31-8 not used no programming required. 7-6 reserved reserved. set to 0 for proper operation. HSP50210
3-33 5-2 phase offset these bits set the phase offset added (modulo 2 ) to the phase output of the cartesian to polar converter. the phase offset is represented as a 4-bit fractional 2? complement value with the following binary format: phase offset = -2 0 . 2 -1 2 -2 2 -3. this format provides a range from 0.875 to -1 (0111 to 1000) which corresponds to phase offset settings from 7 /8 to - respectively. resolution of 22.5 o is provided. bit position 5 is the msb. 1-0 shift factor the bits set the left shift required by the carrier phase error detector. these two bits specify a left shift of 0, 1, 2 or 3 places. msbs are discarded and lsbs are zero-filled. bit 1 is the msb. table 17. carrier phase error detector control register (continued) destination address = 3 bit position function description table 18. frequency detector control register destination address = 4 bit position function description 31-8 not used no programming required. 7-3 reserved reserved. set to 0 for proper operation. 2-0 discriminator delay the frequency detector (discriminator) computes frequency by subtracting a delayed phase term from the current phase term (d /dt). a programmable delay is used to set the discriminator gain. these bits set the delay as given by: delay = 2 k , where k is the 3-bit value programmed here. delays of 1, 2, 4, 8, and 16 are possible. table 19. frequency error detector control register destination address = 5 bit position function description 31-8 not used no programming required. 7-3 frequency offset these bits set the frequency offset added (modulo) to the frequency output of the discriminator. the frequency offset is represented as a 5-bit fractional 2s complement value with the following binary format: frequency offset = -2 0 . 2 -1 2 -2 2 -3 2 -4. this format provides a range from 0.9375 to -1.0 (0111 to 1000). the range and resolution of the frequency offset depend on the discriminator delay and input rate. the frequency offset is added to the 5 msbs of the discriminator output. note: set the frequency offset to 0 when using frequency aided acquisition with psk waveforms. 2-0 shift factor these bits set the left shift required by the frequency error detector. these two bits set a left shift of 0, 1, 2, 3, or 4 places. bit 2 is the msb. values greater than 4 are invalid. note: set the shift factor to 0 when using frequency aided acquisition with psk waveforms. table 20. carrier loop filter control register #1 destination address = 6 bit position function description 31-8 not used no programming required. 7 reserved reserved. set to 0 for proper operation. 6 lead/lag to serial output routing 0 = the carrier loop filter? lag accumulator is routed to the serial output controller. 1 = the lead and lag paths in the carrier loop filter are summed and routed to the serial output controller. HSP50210
3-34 5 lead/lag to internal nco routing 0 = sum of lead and lag paths routed to the internal nco. (32 msbs of sum are routed). 1 = the lead term is routed to the internal nco. (32 msbs of lead term are routed). 4-0 error accumulation these bits set the number of phase and frequency error measurements that are accumulated before the carrier and afc loop filters are run. since the loop filters can only accept new inputs every 6 clks (normally at the symbol rate), the error accumulation is required to ensure that no phase or frequency error outputs are missed when error terms are generated at a rate greater than 1/6 clk (see carrier phase error detector section). the 5-bit value programmed here should be set to one less than the desired number of error terms to accumulate. for example, setting these bits to 0011 (binary) would cause 4 error terms to be accumulated. a total range from 1 to 32 is provided. when error accumulation is used, divide the lead gain by the number of errors accumulated. note that the lag gain does not need to be scaled since it increases to compensate for the delay, since it is an accumulator. table 20. carrier loop filter control register #1 (continued) destination address = 6 bit position function description table 21. carrier loop filter control register #2 destination address = 7 bit position function description 31-8 not used no programming required. 7-6 reserved reserved. set to 0 for proper operation. 5 lead phase error enable 0 = carrier phase error enabled to lead processing path of loop filter. 1 = carrier phase error to lead processing path of loop filter zeroed. 4 lag phase error enable 0 = carrier phase error enabled to lag processing path of loop filter. 1 = carrier phase error to lag processing path of loop filter zeroed (first order loop). 3 afc enable 0 = frequency error enabled to lag processing path of carrier loop filter. 1 = frequency error zeroed. 2 carrier sweep enable 0 = frequency sweep input to the lag path of the carrier loop filter enabled. 1 = sweep input to carrier loop filter zeroed. 1 invert carrier phase error 0 = carrier phase error is normal into carrier loop filter. 1 = carrier phase error is inverted into carrier loop filter. 0 invert carrier frequency error 0 = carrier frequency error is normal into afc loop filter. 1 = carrier frequency error is inverted into afc loop filter. table 22. carrier loop filter upper limit control register destination address = 8 bit position function description 31-0 carrier loop filter upper limit the 32-bit twos complement value programmed here sets the upper sweep and tracking limit of the carrier loop filter by setting the upper limit of the loop filters lag accumulator. if the limit is exceeded, the upper 32 bits of the 40-bit accumulator are set to the limit, and the 8 lsbs are set to zero. table 23. carrier loop filter lower limit control register destination address = 9 bit position function description 31-0 carrier loop filter lower limit the 32-bit twos complement value programmed here sets the lower sweep and tracking limit of the carrier loop filter by setting the lower limit of the loop filters lag accumulator. if the running sum falls below the limit, the upper 32 bits of the 40-bit accumulator are set to the limit, and the 8 lsbs are set to zero. HSP50210
3-35 table 24. carrier loop filter gain (acq) control register destination address = 10 bit position function description 31-24 not used no programming required. 23-18 reserved reserved. set to 0 for proper operation. 17-14 carrier lead gain mantissa (acquisition) these bits are the 4 fractional bits of the lead gain mantissa shown below. lead gain mantissa = 0 1. 2 -1 2 -2 2 -3 2 -4. this format provides a mantissa range from 1.0 to 1.9375 for mantissa settings from 0000 to 1111 binary. bit position 17 is the msb. 13-9 carrier lead gain exponent (acquisition) these bits set the lead gain exponent as given by: carrier lead gain exponent = 2 -(32-e). where e corresponds to the 5-bit binary value programmed here. thus, a gain range from 2 -1 to 2 -32 (relative to the msb position of the nco control word) may be achieved for e = 11111 to 00000 binary. bit position 13 is the msb. 8-5 carrier lag gain mantissa (acquisition) format same as lead gain mantissa. bit position 8 is the msb. 4-0 carrier lag gain exponent (acquisition) format same as lead gain exponent. bit position 4 is the msb. table 25. carrier loop filter gain (trk ) control register destination address = 11 bit position function description 31-24 not used no programming required. 23-18 reserved reserved. set to 0 for proper operation. 17-14 carrier lead gain mantissa (track) format same as lead gain mantissa (see table 24). bit position 17 is the msb. 13-9 carrier lead gain exponent (track) format same as lead gain exponent (see table 24). bit position 13 is the msb. 8-5 carrier lag gain mantissa (track) format same as lead gain mantissa (see table 24). bit position 8 is the msb. 4-0 carrier lag gain exponent (track) format same as lead gain exponent (see table 24). bit position 4 is the msb. table 26. frequency sweep/ afc loop control register destination address = 12 bit position function description 31-27 reserved reserved. set to 0 for proper operation. 26-23 sweep rate mantissa (acquisition) sets carrier track sweep rate used during acquisition (see frequency sweep block section). format same as lead gain mantissa (see table 24). bit position 22 is the msb. 22-18 sweep rate exponent (acquisition) sets carrier track sweep rate used during acquisition (see frequency sweep block section). format same as lead gain exponent (see table 24). bit position 22 is the msb. m = 0000, e = 00000 is 2 -28 . 17-14 afc gain mantissa (acquisition) sets frequency error gain. format same as lead gain mantissa (see table 24). bit position 11 is the msb. 13-9 afc gain exponent (acquisition) sets frequency error gain. format same as lead gain exponent (see table 24). bit position 4 is the msb. HSP50210
3-36 8-5 afc gain mantissa (track) sets frequency error gain. format same as lead gain mantissa (see table 24). bit position 11 is the msb. 4-0 afc gain exponent (track) sets frequency error gain. format same as lead gain exponent (see table 24). bit position 4 is the msb. table 27. carrier lag accumulator initialization control register destination address = 13 bit position function description n/a carrier lag accumulator initialization writing this address initializes the lag accumulator with the contents of the 4 microprocessor interface holding registers at the start of the next carrier loop filter computation cycle. the contents of the hold- ing registers should not be changed until after the start of a new compute cycle, since the current contents of the holding registers are loaded at the compute cycle start. the microprocessor interface can be used to read an internal status register which signals when the lag accumulator load is complete (see micro- processor interface section). the contents of the holding registers are loaded into the 32 msbs of the lag accumulator and the 8 lsbs are zeroed. it is good practice to load the lag accumulators at the very end of a con?uration load sequence. table 28. symbol tracking loop configuration control register destination address = 14 bit position function description 31-16 not used no programming required. 15-13 reserved reserved. set to 0 for proper operation. 12-11 sampling error shift factor the sampling error shifter is provided to left shift the sampling error to full scale before input to the symbol tracking loop filter. the magnitude of the sampling error varies with the number of symbol decision levels, and a left shift of 1 to 4 places is provided as required by modulation order. suggested settings are provided below: 00 = x2 2 levels on each rail (bpsk, qpsk). 01 = x4 4 levels on each rail (8 psk). 10 = x8 8 levels on each rail. 11 = x16 16 levels on each rail. note: saturation is provided in case of over?w. 10-9 modulation order select these bits set the threshold levels used by the symbol decision blocks in the sampling error detector. the end-symbol samples on either the i or q processing path are compared against the selected threshold set to determine the expected symbol value used in calculating the transition midpoint. the threshold levels can be set for up to 16ary signals on both the i and q processing path. the decision thresholds are set as given below. 00 = 2ary signal (use this setting for bpsk, qpsk, and oqpsk signals). 01 = 4ary signal. 10 = 8ary signal. 11 = 16ary signal. the threshold levels are determined by equally dividing up the signal range by the order of the signal. for example, a 2ary signal would divide the ~ 1.0 to -1.0 signal range by two forcing threshold at 0.0. a 4ary signal would have thresholds at: -0.5, 0, and +0.5. table 26. frequency sweep/ afc loop control register (continued) destination address = 12 bit position function description HSP50210
3-37 8 single/double rail sampling error this bit sets whether sampling error is derived from symbol transitions on just the i rail (single rail) or both the i&q rails (dual rail). in single rail operation sampling error from the q rail is nulled and only the i rail is used. in dual rail operation the sampling error from both the i an q rails is summed and then scaled by one half. 0 = dual rail operation. 1 = single rail operation. note: set to 1 for bpsk operation and 0 for qpsk operation. 7-3 sampling error accumulation these bits set the number of sampling error measurements to accumulate before running the symbol loop filter. the loop ?ter requires 8 clks to compute an output. the sampling error detector generates error terms at the symbol rate. thus, the error accumulator must be used if the symbol rate exceeds 1/8 clk to ensure that no error terms are missed (see sampling error detector section). the 5-bit value programmed here is set to one less than the desired number of error terms to accumulate. for example, setting these bits to 00011 (binary) would cause 4 error terms to be accumulated. a total range from 1 to 32 is provided. 2 lead sampling error enable 0 = sampling error enabled to lead path of loop ?ter. 1 = sampling error to lead path of loop ?ter zeroed. 1 lag sampling error enable 0 = sampling error enabled to lag path of loop ?ter. 1 = sampling error to lag path of loop ?ter zeroed (first order loop). 0 invert sampling error 0 = sampling error normal. 1 = sampling error inverted. table 29. symbol tracking loop filter upper limit control register destination address = 15 bit position function description 31-0 symbol tracking loop filter upper limit the 32-bit twos complement value programmed here sets the upper tracking limit of the symbol tracking loop filter by setting the upper limit of the loop filters lag accumulator. if the limit is exceeded, the upper 32 bits of the 40-bit accumulator are set to the limit, and the 8 lsbs are set to zero. table 30. symbol tracking loop filter lower limit control register destination address = 16 bit position function description 31-0 symbol tracking loop filter lower limit the 32-bit twos complement value programmed here sets the lower tracking limit of the symbol tracking loop filter by setting the lower limit of the loop filters lag accumulator. if the running sum falls below the limit, the upper 32 bits of the 40-bit accumulator are set to the limit, and the 8 lsbs are set to zero. table 31. symbol tracking loop filter gain (acq) control register destination address = 17 bit position function description 31-24 not used no programming required. 23-18 reserved reserved. set to 0 for proper operation. 17-14 symbol tracking lead gain mantissa (acquisition) these bits are the 4 fractional bits of the lead gain mantissa shown below: symbol tracking lead gain mantissa = 01. 2 -1 2 -2 2 -3 2 -4. this format provides a mantissa range from 1.0 to 1.9375 for mantissa settings from 0000 to 1111 binary. bit position 17 is the msb. table 28. symbol tracking loop configuration control register (continued) destination address = 14 bit position function description HSP50210
3-38 13-9 symbol tracking lead gain exponent (acquisition) these bits set the lead gain exponent as given by: symbol tracking lead gain exponent = 2 -(32-e), where e corresponds to the 5-bit binary value programmed here. thus, a gain range from 2 -1 to 2 -32 relative to the msb position of the nco control word may be achieved for e = 11111 to 00000 binary. bit position 13 is the msb. 8-5 symbol tracking lag gain mantissa (acquisition) format same as lead gain mantissa. bit position 8 is the msb. 4-0 symbol tracking lag gain exponent (acquisition) format same as lead gain exponent. bit position 4 is the msb. table 31. symbol tracking loop filter gain (acq) control register (continued) destination address = 17 bit position function description table 32. symbol tracking loop filter gain (trk) control register destination address = 18 bit position function description 31-24 not used no programming required. 23-18 reserved reserved. set to 0 for proper operation. 17-14 symbol tracking lead gain mantissa (track) format same as lead gain mantissa (see table 31). bit position 17 is the msb. 13-9 symbol tracking lead gain exponent (track) format same as lead gain exponent (see table 31). bit position 13 is the msb. 8-5 symbol tracking lag gain mantissa (track) format same as lead gain mantissa (see table 31). bit position 8 is the msb. 4-0 symbol tracking lag gain exponent (track) format same as lead gain exponent (see table 31). bit position 4 is the msb. table 33. symbol tracking loop filter lag accumulator initialization control register destination address = 19 bit position function description n/a symbol tracking loop filter lag accumulator initialization writing to this address initializes the lag accumulator with the contents of the four microprocessor interface holding registers at the start of the next loop filter computation cycle. the contents of the holding registers should not be changed until after the start of a new compute cycle since the current contents of the holding registers are loaded at the compute cycle start. at a slow rate, it could take 1 low rate symbol time to change. the microprocessor interface should be used to read an internal status register which signals when the lag accumulator load is complete (see table 13 in the microprocessor interface section). the contents of the holding registers are loaded into the 32 msbs of the lag accumulator and the 8 lsbs are zeroed. it is a good practice to load the lag accumulators at the very end of a configuration load sequence. HSP50210
3-39 table 34. lock detector configuration control register destination address = 20 bit position function description 31-28 reserved reserved. set to 0 for proper operation. 27 false lock accumulator operation this bit selects the input to the false lock accumulator. 0 = frequency error input enabled to accumulator. 1 = false lock bit enabled to accumulator. 26-20 dwell counter pre-load the dwell counter holds off the lock accumulator integration for the number of integration cycles programmed here. the length of the integration cycle is set in the bit positions 19-10. the 7-bit value programmed here should be set to 1 less than the desired hold off time in integration cycles. the pre- load is zeroed during track mode. only used during stepped acquisition mode. 19-10 integration counter pre-load (acquisition) the integration counter controls the number phase error samples accumulated by the lock accumulator. the 10-bit number loaded here is set to two less than the number of phase error samples desired in the integration period. total range 2-1025. bit 19 is the msb. 9-0 integration counter pre-load (track) function is identical to acquisition integration counter pre-load. see above. table 35. lock accumulator pre-loads control register destination address = 21 bit position function description 31-16 lock accumulator pre- load (acquisition) the lock threshold is set by an accumulator pre-load which is backed off from the accumulator full scale by the threshold amount. the lock accumulator is 18 bits and the accumulator bit weightings relative to the magnitude of the phase error input and the pre-load is given below: the accumulator roll over is at the 2 11 bit position. 15-0 lock accumulator pre- load (track) function is identical to acquisition lock accumulation pre-load. see above. table 36. false lock accumulator pre-load control register destination address = 22 bit position function description 31-16 false lock accumulator pre-load (acquisition) depending on configuration, the input to the false lock accumulator is either the false lock indicator bit or the magnitude of the frequency error detector output. like the lock accumulator, the threshold is set by an accumulator pre-load that is backed off from accumulator full scale. the false lock accumulator can accumulate sums up to 18 bits, and the bit weightings of the false lock indicator bit and the frequency error input relative to accumulator full scale are shown below. the accumulator roll over is at the 2 11 bit position. 15-0 false lock accumulator pre-load (track) see above. the lock detector state machine only uses the accumulator during the verify state during which the track parameters are used. 2 10 2 9 2 8 2 7 ......2 0 . 2 -1 2 -2 2 -3 2 -4 2 -5 2 -6 2 -7 bit weighting of phase error magnitude bit weighting of accumulator pre-load binary point 2 10 2 9 2 8 2 7 ......2 0 . 2 -1 2 -2 2 -3 2 -4 2 -5 2 -6 2 -7 bit weighting of false lock indicator bit bit weighting of accumulator pre-load inary point bit weighting of frequency error magnitude HSP50210
3-40 table 37. acquisition/tracking control register destination address = 23 bit position function description 31-16 not used no programming required. 15 reserved set to 0 for proper operation. 14 false lock detect enable this bit enables the false lock detection during the verify state of state machine controlled acquisition. the overflow of the false lock accumulator before the integration counter forces the false lock state. if disabled, the overflow of the false lock accumulator has no effect on state machine operation. 0 = disable false lock. 1 = enable false lock. note: the false lock detector is designed for false lock detection on square wave data. for shaped waveforms false lock detection should be disabled or frequency error should be used. 13 frequency sweep mode this bit selects whether stepped or continuous frequency sweep mode is used (see lock detector sec- tion). 0 = stepped frequency sweep (provided for microprocessor controlled acquisition mode). 1 = continuous frequency sweep. 12-9 verify state length these bits set the number of integration cycles over which carrier lock must be maintained before the lock state is declared. the verify state is used to make sure that lock detection was not the result of noise or false lock. the 4-bit value programmed here sets the verify state from 0 to 15 integration periods. 8-5 false lock sweep these bits set the duration of forced frequency sweep before returning to the acquisition state. when continuous frequency sweep mode is selected, the programmed number represents the number of lock accumulator integration cycles to sweep before returning to the acquisition state. in stepped frequency sweep mode, the number represents the number of loop filter compute cycles over which to enable the sweep input to the lag accumulator. 4 lock detector control this bit selects whether the acquisition/tracking process is controlled externally by a microprocessor or internally by the state machine. if microprocessor control is chosen, the lock detect accumulator integrates for the programmed period of time and ignores accumulator roll over, if any. the lock detector accumulator halts after each integration period and waits to be restarted by the microprocessor. in addition, the microprocessor must select the acquisition/tracking parameters, as well as enable the frequency sweep block. 0 = microprocessor control. 1 = internal state machine control. 3 microprocessor acquisition/track select 0 = track parameters chosen. 1 = acquisition parameters chosen. 2 microprocessor lock this bit controls the state of the lock bit (status6) in the status output status6-0 (see output select section). in addition, this bit sets the internal state machine to the locked state when lock detector control is switched from microprocessor control to state machine control. see table 46 for the status bit information. 1 reserved set to zero for proper operation. 0 microprocessor frequency sweep enable this bit is used to enable the output of the frequency sweep block to the lag path of the symbol tracking loop filter. this bit is only used under microprocessor control of the lock detector. HSP50210
3-41 table 38. halt lock detector for reading control register destination address = 24 bit position function description n/a stop lock detector for reading writing this location halts the lock detector state machine at the end of the current lock detector accumulator integration cycle. this function is provided so that the lock detector integrators can be stopped for reading via the microprocessor interface (only useful when the lock detector is under internal state machine control). bit 7 of the internal status register can be monitored via the microprocessor interface to determine when the lock detector has stopped and is ready for reading. see table 13 for information on the internal status bits. the lock detector will remain stopped until restarted (see restart lock detector control register: table 39). table 39. restart lock detector control register destination address = 25 bit position function description n/a restart lock detector writing this location restarts the lock detector state machine following a read of the lock detector. note: stopping the lock detector for reading is not required in microprocessor control mode since the lock detector accumulators stop at the end of each integration cycle. see also table 44. table 40. soft decision slicer configuration control register destination address = 26 bit position function description 31-8 not used no programming required. 7 slicer output format 0 = soft decision outputs are in sign/magnitude format. 1 = soft decision outputs are in two? complement format. 6-0 soft decision threshold the input to the slicer is compared against thresholds which are 1x, 2x and 3x the value programmed here. the slicer output depends on the relationship of the i or q magnitude to the 3 soft thresholds as given in table 7. the threshold is programmed as a fractional unsigned value with the following bit weightings: 0. 2 -1 2 -2 2 -3 2 -4 2 -5 2 -6 2 -7 . note: since the signal magnitude on either the i or q path ranges between 0.0 and ~ 1.0, the threshold value should not exceed 1.0/3 = 0.33. bit position 6 is the msb. table 41. serial output configuration control register destination address = 27 bit position function description 31-16 not used no programming required. 15-13 reserved set to zero for proper operation. 12 serial data sync polarity (sof output) 0 = sofsync pulses ?igh?one serial clock before data word on sof. 1 = sofsync pulses ?ow?one serial clock before data word on sof. set to 0 for use with the hsp50110. 11 serial data sync polarity (cof output) 0 = cofsync pulses ?igh?one serial clock before data word on cof. 1 = cofsync pulses ?ow?one serial clock before data word on cof. set to 0 for use with the hsp50110. HSP50210
3-42 10 serial clock phase relative to data 0 = rising edge of serial clock at center of data bit. 1 = falling edge of serial clock at center of data bit. set to 0 for use with the hsp50110. 9-8 serial clock divider these bits set the clock rate of sloclk. 00 -> sloclk = clk/2. 01 -> sloclk = clk/4. 10 -> sloclk = clk/8. 11 -> sloclk = clk/16. 7 serial clock select for cof output 0 = clk is used as the serial clock. 1 = sloclk is used as the serial clock. note: if the HSP50210 is used together with the hsp50110, clk must be selected as the serial clock for the sof and cof outputs, and the same clk must be used by both chips. 6-4 serial word length for cof output 000 = 8 bits 001 = 12 bits 010 = 16 bits 011 = 20 bits 100 = 24 bits 101 = 28 bits 110 = 32 bits 111 = 40 bits 3 serial clock select for sof output 0 = clk is used as the serial clock. 1 = sloclk is used as the serial clock. note: if the HSP50210 is used together with the hsp50110, clk must be selected as the serial clock for the sof and cof outputs, and the same clk must be used by both chips. 2-0 serial word length for sof output 000 = 8 bits 001 = 12 bits 010 = 16 bits 011 = 20 bits 100 = 24 bits 101 = 28 bits 110 = 32 bits 111 = 40 bits table 41. serial output configuration control register (continued) destination address = 27 bit position function description HSP50210
3-43 : table 42. output selector configuration control register destination address = 28 bit position function description 31-8 not used no programming required. 7-4 reserved set to zero for proper operation. 3-0 output select these bits select which input signals are routed to the 20 output pins aout9-0 and bout9-0. the signal selections are listed below in tables 42a and 42b. definition of signal bus names: data signal busses: isoft(2:0) this bus is the i channel soft decision slicer output data, expressed in the data format set by cw26 bit 7, with one sign bit (isoft2) and two soft decision bits. qsoft(2:0) this bus is the q channel soft decision slicer output data, expressed in the data format set by cw26 bit 7, with one sign bit (qsoft2) and two soft decision bits. iend(7:1) this bus is the 7 msb? of i end symbol sample into the soft decision slicer, in 2? comple- ment format. (msb = iend7). qend(7:1) this bus is the 7 msb? of q end symbol sample into the soft decision slicer, in 2? comple- ment format. (msb = qend7). status signal parameter busses: agc(7:1) . . . . . this bus is the 7 msb? of the agc accumulator register. (msb = agc7). mag (7:0) . . . . this bus is the 8-bit magnitude output of the cartesian to polar converter, in unsigned binary format. (msb = mag7). phase (7:0) . . this bus is the 8-bit phase output of the cartesian to polar converter, in unsigned binary format. (msb = phase7). fe(7:1) . . . . . . this bus is the seven msb? of the frequency error detector output register, in 2? complement format. (msb = fe7). ge (7:1) . . . . . this bus is the seven msb? of the gain error (agc) accumulator register, in 2? com- plement format. (msb = ge7). te (7:1) . . . . . this bus is the seven msb? of the bit phase error detector output register, in 2? com- plement format. (msb = te7). carpe (7:1) . . this bus is the seven msb? of the carrier phase error detector output register, in 2? complement format. (msb = pe7). lkacc(6:0) . . .this bus is the seven lsb? of the phase error accumulator register in the lock detector, in unsigned offset binary format. (msb = lkacc6) if accumulation bits 14-17 = 1, then bits 7-13 are output as lkacc(6.0). these outputs are zero otherwise. lkcnt(6:0) . . this bus is the seven lsb? of the integration counter in the lock detector, in one? complement format. (msb = lkcnt6) if bits 7-9 of the accumulator are zero, then bits 0-6 are output as lkcnt(6-0). these outputs are zero otherwise. ncocos(9:0) . this bus is the 10-bit two? complement output of the dcl nco, in 2? complement for- mat. (msb = ncocos7). applications for the various output signals: isoft(2:0) and qsoft(2:0) these signals provide a simple interface to a fec decoder. as the most likely to be used output bus, these signals are included in all but one of the programmable multiplexer output configurations. iend(7:1) and qend(7:1) these signals are useful when input to a d/a converter and displayed on an oscilloscope in the x-y plot. this will yield the constellation signal display with which analog modem designers are familiar. status(6:0) these signals can be used in fault detection for use in bit/bite applications and are useful during sys- tem debug . agc(7:1) this signal is useful in monitoring the agc operation, signal detection and antenna tracking applications. other single bit signals are provided for direct use in external agc. mag(7:0) and phase(7:0) these signals are useful in signal detection applications, where presence of a signal is represented by a particular signal magnitude or phase. HSP50210
3-44 freqerr(7:1), gainerr(7:1), bitpherr(7:1), and carpherr(7:1) these signals are useful in applications that need these signals output at the symbol rate and available for hardwiring, rather than at the processor access rate. configurations that use the dcl as a stand alone demodulator and matched filter are examples of such applications. lkacc(6:0) and lkcnt(6:0) these signals are provided for applications which require a lock detection interface that is not processor dependent. these signals are also useful in fault detection in bit/bite applications. ncocos(9:0) this signal is provided for use when the dcl is configured as a stand alone loop filter and nco. this signal can be useful in fault detection in bit/bite applications. table 42a. aout bit definitions output select aout 9 aout 8 aout 7 aout 6 aout 5 aout 4 aout 3 aout 2 aout 1 aout 0 0000 isoft2 isoft1 isoft0 qsoft2 qsoft1 qsoft0 status6 status5 status4 status3 0001 isoft2 qsoft2 mag7 mag6 mag5 mag4 mag3 mag2 mag1 mag0 0010 isoft2 isoft1 isoft0 qsoft2 qsoft1 qsoft0 status6 status5 status4 status3 0011 isoft2 isoft1 isoft0 qsoft2 qsoft1 qsoft0 status6 status5 status4 status3 0100 isoft2 isoft1 isoft0 qsoft2 qsoft1 qsoft0 status6 status5 status4 status3 0101 isoft2 isoft1 isoft0 qsoft2 qsoft1 qsoft0 status6 status5 status4 status3 0110 isoft2 isoft1 isoft0 qsoft2 qsoft1 qsoft0 lkacc6 lkacc5 lkacc4 lkacc3 0111 isoft2 isoft1 isoft0 qsoft2 qsoft1 qsoft0 iend7 iend6 iend5 iend4 1000 rsrvd7 rsrvd6 rsrvd5 rsrvd4 rsrvd3 rsrvd2 rsrvd1 rsrvd0 status5 status6 table 42b. bout bit definition output select bout 9 bout 8 bout 7 bout 6 bout 5 bout 4 bout 3 bout 2 bout 1 bout 0 0000 status2 status1 status0 agc7 agc6 agc5 agc4 acg3 agc2 agc1 0001 status6 status0 phase7 phase6 phase5 phase4 phase3 phase2 phase1 phase0 0010 status2 status1 status0 fe7 fe6 fe5 fe4 fe3 fe2 fe1 0011 status2 status1 status0 ge7 ge6 ge5 ge4 ge3 ge2 ge1 0100 status2 status1 status0 te7 te6 te5 te4 te3 te2 te1 0101 status2 status1 status0 carpe7 carpe6 carpe5 carpe4 carpe3 carpe2 carpe1 0110 lkacc2 lkacc1 lkacc0 lkcnt6 lkcnt5 lkcnt4 lkcnt3 lkcnt2 lkcnt1 lkcnt0 0111 iend3 iend2 iend1 qend7 qend6 qend5 qend4 qend3 qend2 qend1 1000 ncocos9 ncocos8 ncocos7 ncocos6 ncocos5 ncocos4 ncocos3 ncocos2 ncocos1 ncocos0 table 43. update read register configuration control register destination address = 29 bit position function description n/a load output holding register for microprocessor read loading the address register with this destination address samples the contents of the carrier loop filter lag accumulator, symbol tracking loop filter lag accumulator, and the agc accumulator. the sampled accumulator values are loaded into the output holding registers for reading via the microprocessor interface. allow 6 clks until the output holding register is stable for reading. table 42. output selector configuration control register (continued) destination address = 28 bit position function description HSP50210
3-45 table 44. initialize lock detector ( p control mode) control register destination address = 30 bit position function description n/a initialization of lock detector accumulators loading the address register with this destination address pre-loads all of the lock detector accumulators and resets the integration counters to restart the integration process. note: a write to this address only initializes the lock detector when it is in microprocessor control mode (see acquisition/tracking control register; table 37). table 45. test configuration control register destination address = 31 bit position function description 31-16 not used no programming required. 15-6 reserved set to 0 for proper operation. 5 initialize nco this bit is used to zero the feed back in the nco? phase accumulator. this is useful in setting the output of the nco to a known value. 0 = enable normal nco operation. 1 = zero phase accumulator feedback for test. 4 zero symbol tracking loop filter accumulator this bit is used to zero the lag accumulator in the symbol tracking loop filter. 0 = enable normal loop filter operation. 1 = zero lag accumulator. 3 zero carrier loop filter accumulator this bit is used to zero the lag accumulator in the carrier loop filter. 0 = enable normal loop filter operation. 1 = zero lag accumulator. 2-0 reserved set to 0 for proper operation. table 46. status 6-0 signal descriptions bit position function description 6 carrier lock 0 = lock detector is not in locked state (carrier tracking loop is not locked). 1 = lock detector has achieved the locked state (carrier lock has been achieved). 5 acquisition/track indicator 0 = tracking parameters currently being used by tracking loops. 1 = acquisition parameters currently being used by tracking loops. 4 reserved n/a. 3 frequency sweep direction this bit indicates the direction of the frequency sweep selected by the frequency sweep input to the lag path of the carrier tracking loop filter (defined for upper sideband signals). 0 = up (sweep increasing in frequency). 1 = down (sweep decreasing in frequency). 2 high power this bit is one clock cycle long and indicates when the agc is at its lower limit (see agc section and table 15). 0 = agc above lower limit. 1 = agc at lower limit. 1 low power this bit is one clock cycle long and indicates when the agc is at its upper limit (see agc section and table 15). 0 = agc is at or below its upper limit. 1 = agc is above its upper limit. 0 data ready strobe this bit pulses ?igh?for one clk synchronous with a new signal output on outb6-0 (see output selector control register: table 45). for example if the lower 4 bits of the output selector register are set to 0010 (binary), this bit will pulse active on the same clk that new fe7-1 data is output. HSP50210
3-46 appendix a noise bandwidth summary for a given decimation rate, the double-sided noise equivalent bandwidth is shown using various combinations of the cic ?ter and the compensation ?ters in the hsp50110. each combination of ?ters is also shown with and without the root raised cosine ?ter in the HSP50210. the noise bandwidth is measured relative to the output sample rate. table a dec inte- grate/ dump integrate/ dump w/comp int/dump and rrc int/dump w/comp and rrc 3rd order cic 3rd order cic w/comp 3rd order cic and rrc 3rd order cic w/comp and rrc 2 1.0000 1.3775 0.492771 0.5348 0.6250 1.3937 0.420829 0.531055 10 1.0000 1.3775 0.492771 0.5348 0.5525 1.0785 0.402135 0.501525 18 1.0000 1.3775 0.492771 0.5348 0.5508 1.0714 0.401628 0.500731 26 1.0000 1.3775 0.492771 0.5348 0.5504 1.0698 0.401510 0.500547 34 1.0000 1.3775 0.492771 0.5348 0.5502 1.0691 0.401465 0.500477 42 1.0000 1.3775 0.492771 0.5348 0.5501 1.0688 0.401443 0.500443 50 1.0000 1.3775 0.492771 0.5348 0.5501 1.0687 0.401431 0.500424 58 1.0000 1.3775 0.492771 0.5348 0.5501 1.0686 0.401424 0.500410 66 1.0000 1.3775 0.492771 0.5348 0.5501 1.0685 0.401424 0.500404 74 1.0000 1.3775 0.492771 0.5348 0.5500 1.0684 0.401415 0.500408 82 1.0000 1.3775 0.492771 0.5348 0.5500 1.0684 0.401462 0.500215 90 1.0000 1.3775 0.492771 0.5348 0.5500 1.0684 0.401598 0.501272 98 1.0000 1.3775 0.492771 0.5348 0.5500 1.0684 0.400708 0.499348 106 1.0000 1.3775 0.492771 0.5348 0.5500 1.0684 0.400933 0.497418 114 1.0000 1.3775 0.492771 0.5348 0.5500 1.0683 0.403557 0.501420 122-4096 1.0000 1.3775 0.492771 0.5348 0.5500 1.0683 - - note: 6. noise bandwidth of rrc filter is 0.492676. HSP50210
3-47 absolute maximum ratings thermal information supply voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +7.0v input, output voltage . . . . . . . . . . . . . . . . .gnd -0.5v to v cc +0.5v esd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . class 3 operating conditions voltage range . . . . . . . . . . . . . . . . . . . . . . . . . . . . +4.75v to +5.25v temperature range commercial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0 o c to 70 o c industrial. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -40 o c to 85 o c thermal resistance (typical, note 7) ja o c/w plcc package. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 maximum storage temperature. . . . . . . . . . . . . . . . -65 o c to 150 o c maximum junction temperature plcc . . . . . . . . . . . . . . . . . .150 o c maximum lead temperature (soldering 10s) . . . . . . . . . . . . .300 o c (plcc - lead tips only) die characteristics gate count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45,000 caution: stresses above those listed in ?bsolute maximum ratings may cause permanent damage to the device. this is a stress only rating and operatio n of the device at these or any other conditions above those indicated in the operational sections of this speci?ation is not implied. note: 7. ja is measured with the component mounted on an evaluation pc board in free air. dc electrical speci?ations v cc = 5.0v 5%, t a = 0 o c to 70 o c (commercial), t a = -40 o c to 85 o c (industrial) parameter symbol test conditions min max units power supply current i ccop v cc = max, clk = 52.6mhz (notes 8, 9) - 225 ma standby power supply current i ccsb v cc = max, outputs not loaded - 500 a input leakage current i i v cc = max, input = 0v or v cc -10 10 a output leakage current i o v cc = max, input = 0v or v cc -10 10 a clock input high v ihc v cc = max, clk 3.0 - v clock input low v ilc v cc = min, clk - 0.8 v logical one input voltage v ih v cc = max 2.0 - v logical zero input voltage v il v cc = min - 0.8 v logical one output voltage v oh i oh = -400 a, v cc = min 2.6 - v logical zero output voltage v ol i ol = 2ma, v cc = min - 0.4 v input capacitance c in f clk = sclk = 1mhz all measurements referenced to gnd. t a = 25 o c (note 10) -10pf output capacitance c out -10pf notes: 8. power supply current is proportional to frequency. typical rating is 4ma/mhz. 9. output load per test circuit and c l = 40pf. 10. not tested, but characterized at initial design and at major process/design changes. ac electrical speci?ations v cc = 5.0v 5%, t a = 0 o c to 70 o c (commercial), t a = -40 o c to 85 o c (industrial), (note 11) parameter symbol 52mhz comments min max clk period t cp 19 - ns clk high t ch 7- ns clk low t cl 7- ns serclk high t sh 7- ns serclk low t sl 7- ns setup time iin9-0, qin9-0, sync, fz_ct, fz_st to clk t ds 8- ns hold time iin9-0, qin9-0, sync, fz_ct, fz_st from clk t dh 1- ns setup time iser, qser, ssync to serclk t dss 8- ns HSP50210
3-48 ac test load circuit ? test head capacitance. hold time iser, qser, ssync from serclk t dsh 0- ns setup time a0-2, c0-7 to rising edge of wr t ws 15 - ns hold time a0-2, c0-7 from rising edge of wr t wh 0- ns wr to clk t wc 15 - ns, (note 13) serclk to clk t sc 10 - ns, (note 13) clk to aout9-0, bout9-0, cof, cofsync, sof, sofsync, smblclk, hi/lo, sloclk, lkint, thres t do -8ns read address low to data valid t ado -26ns clk to status out on c0-7 t cdo -15ns wr high t wrh 16 - ns wr low t wrl 16 - ns rd low t rl 16 - ns rd low to data valid t rdo -15ns rd high to output disable t rod - 10 ns, (note 12) output enable t oe -8ns output disable time t od - 8 ns, (note 12) output rise, fall time t rf - 5 ns, (note 12) notes: 11. ac tests performed with c l = 40 pf, i ol = 2ma, and i oh = -400ma. input reference level for clk is 2.0v, all other inputs 1.5v. test v ih = 3.0v, v ihc = 4.0v, v il = 0v. 12. controlled via design or process parameters and not directly tested. characterized upon initial design and after major process and/or design changes. 13. set up time required to ensure action initiated by wr or serclk will be seen by a particular clk. ac electrical speci?ations v cc = 5.0v 5%, t a = 0 o c to 70 o c (commercial), t a = -40 o c to 85 o c (industrial), (note 11) (contin- parameter symbol 52mhz comments min max equivalent circuit c l ? ioh 1.5v iol dut switch s1 open for i ccsb and i ccop s1 HSP50210
3-49 all intersil semiconductor products are manufactured, assembled and tested under iso9000 quality systems certi?ation. intersil semiconductor products are sold by description only. intersil corporation reserves the right to make changes in circuit design and/or spec ifications at any time with- out notice. accordingly, the reader is cautioned to verify that data sheets are current before placing orders. information furnished by intersil is b elieved to be accurate and reliable. however, no responsibility is assumed by intersil or its subsidiaries for its use; nor for any infringements of patents or other rights of th ird parties which may result from its use. no license is granted by implication or otherwise under any patent or patent rights of intersil or its subsidiari es. for information regarding intersil corporation and its products, see web site www.intersil.com waveforms figure 26. timing relative to wr figure 27. output rise and fall times figure 28. timing relative to clk figure 29. output enable/disable figure 30. timing relative to read figure 31. serclk timing wr c0-7, a0-2 t ws t wh t wrh t wrl t rf t rf 0.8v 2.0v clk iin9-0, qin9-0, t ds t dh sync, fz_ct, fz_st t cl t ch t do t cp aout9-0, bout9-0, cof, cofsync, sof, sofsync, hi/lo, smblclk, sloclk, lkint, thres serclk, wr t sc ; t wc c7-0 t cdo 1.7v 1.3v 1.5v 1.5v t oe t od outa9-0, outb9-0 oea, oeb t rdo c0-7 t rod t rl rd a2-0 t ado iser, qser, ssync t dss t sh t sl t dsh serclk HSP50210


▲Up To Search▲   

 
Price & Availability of HSP50210

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X